Home
last modified time | relevance | path

Searched refs:bit_length (Results 1 - 2 of 2) sorted by relevance

/base/startup/hvb/libhvb/src/cert/
H A Dhvb_cert.c389 * raw_pubk: |bit_length|n0|mod|p_rr|
393 uint64_t bit_length = 0; in hvb_cert_pubk_parser() local
403 hvb_print("error, dc bit_length.\n"); in hvb_cert_pubk_parser()
406 bit_length = hvb_buftouint64(buf.addr); in hvb_cert_pubk_parser()
407 bit_length = hvb_be64toh(bit_length); in hvb_cert_pubk_parser()
416 if (!_decode_octets(&mod, bit_length / 8, &p, end)) { in hvb_cert_pubk_parser()
421 if (!_decode_octets(&p_rr, bit_length / 8, &p, end)) { in hvb_cert_pubk_parser()
426 pubk->width = bit_length; in hvb_cert_pubk_parser()
/base/startup/hvb/tools/
H A Dhvbtool.py53 def __init__(self, sig_algo, hash_algo, bit_length, sig_bytes, hash_bytes, pubkey_bytes):
56 self.bit_length = bit_length
232 pkey_r = 2 ** self.modulusdata.bit_length()
680 bit_length=3072, variable in HvbTool
688 bit_length=4096, variable in HvbTool
696 bit_length=2048, variable in HvbTool
866 digest_padding = 2 ** ((digest_size - 1).bit_length()) - digest_size

Completed in 3 milliseconds