Home
last modified time | relevance | path

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

/external/avb/libavb_atx/
Davb_atx_validate.c74 if (0 != avb_safe_memcmp(hash, expected_hash, AVB_SHA256_DIGEST_SIZE)) { in verify_permanent_attributes()
113 if (0 != avb_safe_memcmp(certificate->signed_data.usage, in verify_certificate()
154 if (0 != avb_safe_memcmp(certificate->signed_data.subject, in verify_psk_certificate()
179 if (0 != avb_safe_memcmp(certificate->signed_data.subject, in verify_puk_certificate()
267 if (0 != avb_safe_memcmp( in avb_atx_validate_vbmeta_public_key()
/external/avb/libavb_aftl/
Davb_aftl_validate.c52 return avb_safe_memcmp(vbmeta_hash, in avb_aftl_verify_vbmeta_hash()
80 return (avb_safe_memcmp(result_hash, in avb_aftl_verify_icp_root_hash()
/external/avb/libavb/
Davb_footer.c39 if (avb_safe_memcmp(dest->magic, AVB_FOOTER_MAGIC, AVB_FOOTER_MAGIC_LEN) != in avb_footer_validate_and_byteswap()
Davb_vbmeta_image.c64 if (avb_safe_memcmp(data, AVB_MAGIC, AVB_MAGIC_LEN) != 0) { in avb_vbmeta_image_verify()
204 if (avb_safe_memcmp(authentication_block + h.hash_offset, in avb_vbmeta_image_verify()
Davb_rsa.c278 if (avb_safe_memcmp(buf, padding, padding_num_bytes)) { in avb_rsa_verify()
284 if (avb_safe_memcmp(buf + padding_num_bytes, hash, hash_num_bytes)) { in avb_rsa_verify()
Davb_util.h177 int avb_safe_memcmp(const void* s1,
Davb_util.c102 int avb_safe_memcmp(const void* s1, const void* s2, size_t n) { in avb_safe_memcmp() function
Davb_slot_verify.c444 if (avb_safe_memcmp(digest, expected_digest, digest_len) != 0) { in load_and_verify_hash_partition()
803 avb_safe_memcmp(expected_public_key, pk_data, pk_len) != 0) { in load_and_verify_vbmeta()
/external/avb/libavb_ab/
Davb_ab_flow.c29 if (avb_safe_memcmp(src->magic, AVB_AB_MAGIC, AVB_AB_MAGIC_LEN) != 0) { in avb_ab_data_verify_and_byteswap()
198 if (avb_safe_memcmp(ab_data, ab_data_orig, sizeof(AvbABData)) != 0) { in save_metadata_if_changed()