Searched refs:avb_safe_memcmp (Results 1 – 9 of 9) sorted by relevance
/external/avb/libavb_atx/ |
D | avb_atx_validate.c | 74 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/ |
D | avb_aftl_validate.c | 52 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/ |
D | avb_footer.c | 39 if (avb_safe_memcmp(dest->magic, AVB_FOOTER_MAGIC, AVB_FOOTER_MAGIC_LEN) != in avb_footer_validate_and_byteswap()
|
D | avb_vbmeta_image.c | 64 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()
|
D | avb_rsa.c | 278 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()
|
D | avb_util.h | 177 int avb_safe_memcmp(const void* s1,
|
D | avb_util.c | 102 int avb_safe_memcmp(const void* s1, const void* s2, size_t n) { in avb_safe_memcmp() function
|
D | avb_slot_verify.c | 444 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/ |
D | avb_ab_flow.c | 29 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()
|