Home
last modified time | relevance | path

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

/external/avb/libavb_atx/
Davb_atx_validate.c70 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/
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.c58 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()
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.h171 int avb_safe_memcmp(const void* s1,
Davb_util.c83 int avb_safe_memcmp(const void* s1, const void* s2, size_t n) { in avb_safe_memcmp() function
Davb_slot_verify.c340 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/
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()