Searched refs:AVB_SHA512_DIGEST_SIZE (Results 1 – 9 of 9) sorted by relevance
/external/avb/libavb/ |
D | avb_crypto.c | 186 padding_RSA2048_SHA512[AVB_RSA2048_NUM_BYTES - AVB_SHA512_DIGEST_SIZE] = { 205 padding_RSA4096_SHA512[AVB_RSA4096_NUM_BYTES - AVB_SHA512_DIGEST_SIZE] = { 246 padding_RSA8192_SHA512[AVB_RSA8192_NUM_BYTES - AVB_SHA512_DIGEST_SIZE] = { 346 .hash_len = AVB_SHA512_DIGEST_SIZE}, 350 .hash_len = AVB_SHA512_DIGEST_SIZE}, 354 .hash_len = AVB_SHA512_DIGEST_SIZE},
|
D | avb_cmdline.c | 294 uint8_t vbmeta_digest[AVB_SHA512_DIGEST_SIZE]; in avb_append_options() 307 AVB_SHA512_DIGEST_SIZE)) { in avb_append_options() 415 avb_assert(digest_size <= AVB_SHA512_DIGEST_SIZE); in avb_add_root_digest_substitution() 417 digest_size > AVB_SHA512_DIGEST_SIZE) { in avb_add_root_digest_substitution()
|
D | avb_crypto.h | 54 #define AVB_SHA512_DIGEST_SIZE 64 macro
|
D | avb_sha.h | 65 uint8_t buf[AVB_SHA512_DIGEST_SIZE]; /* Used for storing the final digest. */
|
D | avb_slot_verify.c | 299 uint8_t expected_digest_buf[AVB_SHA512_DIGEST_SIZE]; in load_and_verify_hash_partition() 410 digest_len = AVB_SHA512_DIGEST_SIZE; in load_and_verify_hash_partition() 1136 uint8_t digest_buf[AVB_SHA512_DIGEST_SIZE]; in load_and_verify_vbmeta() 1176 digest_len = AVB_SHA512_DIGEST_SIZE; in load_and_verify_vbmeta() 1736 avb_memcpy(out_digest, avb_sha512_final(&ctx), AVB_SHA512_DIGEST_SIZE); in avb_slot_verify_data_calculate_vbmeta_digest()
|
/external/avb/libavb_atx/ |
D | avb_atx_validate.c | 50 uint8_t hash[AVB_SHA512_DIGEST_SIZE]) { in sha512() argument 55 avb_memcpy(hash, tmp, AVB_SHA512_DIGEST_SIZE); in sha512() 88 uint8_t certificate_hash[AVB_SHA512_DIGEST_SIZE]; in verify_certificate() 103 AVB_SHA512_DIGEST_SIZE, in verify_certificate() 326 uint8_t challenge_hash[AVB_SHA512_DIGEST_SIZE]; in avb_atx_validate_unlock_credential() 401 AVB_SHA512_DIGEST_SIZE, in avb_atx_validate_unlock_credential()
|
/external/avb/test/ |
D | avb_crypto_ops_unittest.cc | 90 mem_to_hexstring(avb_sha512_final(&ctx), AVB_SHA512_DIGEST_SIZE)); in TEST() 114 mem_to_hexstring(avb_sha512_final(&ctx), AVB_SHA512_DIGEST_SIZE)); in TEST()
|
D | avb_slot_verify_unittest.cc | 128 uint8_t vbmeta_digest[AVB_SHA512_DIGEST_SIZE]; in TEST_F() 134 mem_to_hexstring(vbmeta_digest, AVB_SHA512_DIGEST_SIZE)); in TEST_F() 3396 AVB_SHA512_DIGEST_SIZE)); 3598 kPersistentValueName, AVB_SHA512_DIGEST_SIZE, fake_digest); in TEST_F() 3656 AVB_SHA512_DIGEST_SIZE));
|
D | avb_atx_validate_unittest.cc | 68 uint8_t digest[AVB_SHA512_DIGEST_SIZE]; in Sign() 75 AVB_SHA512_DIGEST_SIZE, in Sign()
|