Home
last modified time | relevance | path

Searched refs:AVB_SHA256_DIGEST_SIZE (Results 1 – 11 of 11) sorted by relevance

/external/avb/libavb_atx/
Davb_atx_validate.c35 uint8_t hash[AVB_SHA256_DIGEST_SIZE]) { in sha256() argument
40 avb_memcpy(hash, tmp, AVB_SHA256_DIGEST_SIZE); in sha256()
55 static void sha256_str(const char* str, uint8_t hash[AVB_SHA256_DIGEST_SIZE]) { in sha256_str() argument
62 uint8_t expected_hash[AVB_SHA256_DIGEST_SIZE]) { in verify_permanent_attributes() argument
63 uint8_t hash[AVB_SHA256_DIGEST_SIZE]; in verify_permanent_attributes()
70 if (0 != avb_safe_memcmp(hash, expected_hash, AVB_SHA256_DIGEST_SIZE)) { in verify_permanent_attributes()
81 uint8_t expected_usage[AVB_SHA256_DIGEST_SIZE]) { in verify_certificate() argument
110 AVB_SHA256_DIGEST_SIZE)) { in verify_certificate()
121 uint8_t expected_usage[AVB_SHA256_DIGEST_SIZE]; in verify_pik_certificate()
138 uint8_t expected_subject[AVB_SHA256_DIGEST_SIZE]; in verify_psk_certificate()
[all …]
Davb_atx_types.h56 uint8_t subject[AVB_SHA256_DIGEST_SIZE];
57 uint8_t usage[AVB_SHA256_DIGEST_SIZE];
Davb_atx_ops.h61 AvbAtxOps* atx_ops, uint8_t hash[AVB_SHA256_DIGEST_SIZE]);
/external/avb/libavb/
Davb_crypto.c35 padding_RSA2048_SHA256[AVB_RSA2048_NUM_BYTES - AVB_SHA256_DIGEST_SIZE] = {
57 padding_RSA4096_SHA256[AVB_RSA4096_NUM_BYTES - AVB_SHA256_DIGEST_SIZE] = {
100 padding_RSA8192_SHA256[AVB_RSA8192_NUM_BYTES - AVB_SHA256_DIGEST_SIZE] = {
334 .hash_len = AVB_SHA256_DIGEST_SIZE},
338 .hash_len = AVB_SHA256_DIGEST_SIZE},
342 .hash_len = AVB_SHA256_DIGEST_SIZE},
Davb_crypto.h48 #define AVB_SHA256_DIGEST_SIZE 32 macro
Davb_sha.h56 uint8_t buf[AVB_SHA256_DIGEST_SIZE]; /* Used for storing the final digest. */
Davb_slot_verify.c190 digest_len = AVB_SHA256_DIGEST_SIZE; in load_and_verify_hash_partition()
1141 AVB_SHA256_DIGEST_SIZE)) { in append_options()
/external/avb/test/
Dfake_avb_ops.cc254 uint8_t hash[AVB_SHA256_DIGEST_SIZE]) { in read_permanent_attributes_hash() argument
261 memset(hash, 0, AVB_SHA256_DIGEST_SIZE); in read_permanent_attributes_hash()
263 AVB_SHA256_DIGEST_SIZE); in read_permanent_attributes_hash()
352 AvbAtxOps* atx_ops, uint8_t hash[AVB_SHA256_DIGEST_SIZE]) { in my_ops_read_permanent_attributes_hash() argument
Dfake_avb_ops.h86 uint8_t hash[AVB_SHA256_DIGEST_SIZE]) = 0;
205 uint8_t hash[AVB_SHA256_DIGEST_SIZE]) override;
Davb_atx_validate_unittest.cc175 uint8_t hash[AVB_SHA256_DIGEST_SIZE]) override { in read_permanent_attributes_hash() argument
626 uint8_t hash[AVB_SHA256_DIGEST_SIZE]) override { in read_permanent_attributes_hash() argument
Davbtool_unittest.cc532 mem_to_hexstring(hasher_digest, AVB_SHA256_DIGEST_SIZE)); in AddHashFooterTest()