Home
last modified time | relevance | path

Searched refs:signed_size (Results 1 – 3 of 3) sorted by relevance

/external/vboot_reference/host/lib/
Dhost_keyblock.c20 uint64_t signed_size = sizeof(VbKeyBlockHeader) + data_key->key_size; in KeyBlockCreate() local
21 uint64_t block_size = (signed_size + SHA512_DIGEST_SIZE + in KeyBlockCreate()
49 SHA512_DIGEST_SIZE, signed_size); in KeyBlockCreate()
52 siglen_map[signing_key->algorithm], signed_size); in KeyBlockCreate()
57 sigtmp = CalculateChecksum((uint8_t*)h, signed_size); in KeyBlockCreate()
63 sigtmp = CalculateSignature((uint8_t*)h, signed_size, signing_key); in KeyBlockCreate()
81 uint64_t signed_size = sizeof(VbKeyBlockHeader) + data_key->key_size; in KeyBlockCreate_external() local
82 uint64_t block_size = (signed_size + SHA512_DIGEST_SIZE + in KeyBlockCreate_external()
112 SHA512_DIGEST_SIZE, signed_size); in KeyBlockCreate_external()
114 siglen_map[algorithm], signed_size); in KeyBlockCreate_external()
[all …]
Dhost_common.c25 uint64_t signed_size = (sizeof(VbFirmwarePreambleHeader) + in CreateFirmwarePreamble() local
28 uint64_t block_size = signed_size + siglen_map[signing_key->algorithm]; in CreateFirmwarePreamble()
62 siglen_map[signing_key->algorithm], signed_size); in CreateFirmwarePreamble()
65 sigtmp = CalculateSignature((uint8_t *)h, signed_size, signing_key); in CreateFirmwarePreamble()
86 uint64_t signed_size = (sizeof(VbKernelPreambleHeader) + in CreateKernelPreamble() local
88 uint64_t block_size = signed_size + siglen_map[signing_key->algorithm]; in CreateKernelPreamble()
124 siglen_map[signing_key->algorithm], signed_size); in CreateKernelPreamble()
127 sigtmp = CalculateSignature((uint8_t *)h, signed_size, signing_key); in CreateKernelPreamble()
/external/python/cpython2/Lib/test/
Dtest_struct.py169 signed_size = struct.calcsize(byteorder + format_pair[0])
171 self.assertEqual(signed_size, unsigned_size)