Searched refs:AVB_SHA256_DIGEST_SIZE (Results 1 – 11 of 11) sorted by relevance
/external/avb/libavb_atx/ |
D | avb_atx_validate.c | 35 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 …]
|
D | avb_atx_types.h | 56 uint8_t subject[AVB_SHA256_DIGEST_SIZE]; 57 uint8_t usage[AVB_SHA256_DIGEST_SIZE];
|
D | avb_atx_ops.h | 61 AvbAtxOps* atx_ops, uint8_t hash[AVB_SHA256_DIGEST_SIZE]);
|
/external/avb/libavb/ |
D | avb_crypto.c | 35 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},
|
D | avb_crypto.h | 48 #define AVB_SHA256_DIGEST_SIZE 32 macro
|
D | avb_sha.h | 56 uint8_t buf[AVB_SHA256_DIGEST_SIZE]; /* Used for storing the final digest. */
|
D | avb_slot_verify.c | 190 digest_len = AVB_SHA256_DIGEST_SIZE; in load_and_verify_hash_partition() 1141 AVB_SHA256_DIGEST_SIZE)) { in append_options()
|
/external/avb/test/ |
D | fake_avb_ops.cc | 254 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
|
D | fake_avb_ops.h | 86 uint8_t hash[AVB_SHA256_DIGEST_SIZE]) = 0; 205 uint8_t hash[AVB_SHA256_DIGEST_SIZE]) override;
|
D | avb_atx_validate_unittest.cc | 175 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
|
D | avbtool_unittest.cc | 532 mem_to_hexstring(hasher_digest, AVB_SHA256_DIGEST_SIZE)); in AddHashFooterTest()
|