Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/lib/avb/libavb_atx/
H A Davb_atx_validate.c46 uint8_t hash[AVB_SHA256_DIGEST_SIZE]) { in sha256() argument
53 avb_memcpy(hash, tmp, AVB_SHA256_DIGEST_SIZE); in sha256()
70 static void sha256_str(const char* str, uint8_t hash[AVB_SHA256_DIGEST_SIZE]) { in sha256_str() argument
77 const uint8_t expected_hash[AVB_SHA256_DIGEST_SIZE]) { in verify_permanent_attributes() argument
78 uint8_t hash[AVB_SHA256_DIGEST_SIZE]; in verify_permanent_attributes()
142 if (0 != avb_safe_memcmp(hash, expected_hash, AVB_SHA256_DIGEST_SIZE)) { in verify_permanent_attributes()
155 const uint8_t expected_usage[AVB_SHA256_DIGEST_SIZE]) { in verify_certificate() argument
184 AVB_SHA256_DIGEST_SIZE)) { in verify_certificate()
196 uint8_t expected_usage[AVB_SHA256_DIGEST_SIZE]; in verify_pik_certificate()
213 uint8_t expected_subject[AVB_SHA256_DIGEST_SIZE]; in verify_psk_certificate()
[all …]
/OK3568_Linux_fs/u-boot/lib/avb/libavb/
H A 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},
H A Davb_slot_verify.c413 digest_len = AVB_SHA256_DIGEST_SIZE; in load_and_verify_hash_partition()
1180 digest_len = AVB_SHA256_DIGEST_SIZE; in load_and_verify_vbmeta()
1255 uint8_t vbmeta_digest_sha256[AVB_SHA256_DIGEST_SIZE]; in avb_manage_hashtree_error_mode()
1256 uint8_t stored_vbmeta_digest_sha256[AVB_SHA256_DIGEST_SIZE]; in avb_manage_hashtree_error_mode()
1273 AVB_SHA256_DIGEST_SIZE, in avb_manage_hashtree_error_mode()
1287 AVB_SHA256_DIGEST_SIZE, in avb_manage_hashtree_error_mode()
1301 if (num_bytes_read != AVB_SHA256_DIGEST_SIZE) { in avb_manage_hashtree_error_mode()
1316 AVB_SHA256_DIGEST_SIZE) == 0) { in avb_manage_hashtree_error_mode()
1736 avb_memcpy(out_digest, avb_sha256_final(&ctx), AVB_SHA256_DIGEST_SIZE); in avb_slot_verify_data_calculate_vbmeta_digest()
H A Davb_cmdline.c295 uint8_t vbmeta_digest[AVB_SHA256_DIGEST_SIZE]; in avb_append_options()
308 AVB_SHA256_DIGEST_SIZE)) { in avb_append_options()
/OK3568_Linux_fs/u-boot/include/android_avb/
H A Davb_atx_types.h61 uint8_t subject[AVB_SHA256_DIGEST_SIZE];
62 uint8_t usage[AVB_SHA256_DIGEST_SIZE];
82 uint8_t product_id_hash[AVB_SHA256_DIGEST_SIZE];
H A Davb_atx_ops.h63 AvbAtxOps* atx_ops, uint8_t hash[AVB_SHA256_DIGEST_SIZE]);
H A Davb_crypto.h53 #define AVB_SHA256_DIGEST_SIZE 32 macro
H A Davb_sha.h62 uint8_t buf[AVB_SHA256_DIGEST_SIZE]; /* Used for storing the final digest. */
/OK3568_Linux_fs/u-boot/cmd/
H A Dboot_android.c518 uint8_t hash[AVB_SHA256_DIGEST_SIZE]; in do_perm_attr_test()
535 for (i = 0; i < AVB_SHA256_DIGEST_SIZE; i++) { in do_perm_attr_test()
/OK3568_Linux_fs/u-boot/lib/avb/libavb_user/
H A Davb_ops_user.c385 uint8_t hash[AVB_SHA256_DIGEST_SIZE]) in avb_read_perm_attr_hash() argument
390 AVB_SHA256_DIGEST_SIZE / 4)) in avb_read_perm_attr_hash()