Home
last modified time | relevance | path

Searched refs:AVB_SHA512_DIGEST_SIZE (Results 1 – 9 of 9) sorted by relevance

/external/avb/libavb/
Davb_crypto.c186 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},
Davb_cmdline.c294 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()
Davb_crypto.h54 #define AVB_SHA512_DIGEST_SIZE 64 macro
Davb_sha.h65 uint8_t buf[AVB_SHA512_DIGEST_SIZE]; /* Used for storing the final digest. */
Davb_slot_verify.c299 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/
Davb_atx_validate.c50 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/
Davb_crypto_ops_unittest.cc90 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()
Davb_slot_verify_unittest.cc128 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));
Davb_atx_validate_unittest.cc68 uint8_t digest[AVB_SHA512_DIGEST_SIZE]; in Sign()
75 AVB_SHA512_DIGEST_SIZE, in Sign()