Searched refs:signed_size (Results 1 – 4 of 4) sorted by relevance
/external/vboot_reference/host/lib/ |
D | host_keyblock.c | 20 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 …]
|
D | host_common.c | 25 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/ |
D | test_struct.py | 169 signed_size = struct.calcsize(byteorder + format_pair[0]) 171 self.assertEqual(signed_size, unsigned_size)
|
/external/python/cpython3/Lib/test/ |
D | test_struct.py | 154 signed_size = struct.calcsize(byteorder + format_pair[0]) 156 self.assertEqual(signed_size, unsigned_size)
|