Searched refs:avb_safe_memcmp (Results 1 – 8 of 8) sorted by relevance
/external/avb/libavb_atx/ |
D | avb_atx_validate.c | 70 if (0 != avb_safe_memcmp(hash, expected_hash, AVB_SHA256_DIGEST_SIZE)) { in verify_permanent_attributes() 108 if (0 != avb_safe_memcmp(certificate->signed_data.usage, in verify_certificate() 148 if (0 != avb_safe_memcmp(certificate->signed_data.subject, in verify_psk_certificate() 236 if (0 != avb_safe_memcmp( in avb_atx_validate_vbmeta_public_key()
|
/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 | 58 if (avb_safe_memcmp(data, AVB_MAGIC, AVB_MAGIC_LEN) != 0) { in avb_vbmeta_image_verify() 203 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 | 171 int avb_safe_memcmp(const void* s1,
|
D | avb_util.c | 83 int avb_safe_memcmp(const void* s1, const void* s2, size_t n) { in avb_safe_memcmp() function
|
D | avb_slot_verify.c | 340 if (avb_safe_memcmp(digest, expected_digest, digest_len) != 0) { in load_and_verify_hash_partition() 682 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()
|