Lines Matching refs:icp_entry
37 AftlIcpEntry* icp_entry) { in avb_aftl_verify_vbmeta_hash() argument
40 avb_assert(vbmeta != NULL && icp_entry != NULL); in avb_aftl_verify_vbmeta_hash()
45 if (icp_entry->annotation_leaf->annotation->vbmeta_hash_size != in avb_aftl_verify_vbmeta_hash()
53 icp_entry->annotation_leaf->annotation->vbmeta_hash, in avb_aftl_verify_vbmeta_hash()
58 bool avb_aftl_verify_icp_root_hash(AftlIcpEntry* icp_entry) { in avb_aftl_verify_icp_root_hash() argument
62 avb_assert(icp_entry != NULL); in avb_aftl_verify_icp_root_hash()
64 if (!avb_aftl_rfc6962_hash_leaf(icp_entry->annotation_leaf_raw, in avb_aftl_verify_icp_root_hash()
65 icp_entry->annotation_leaf_size, in avb_aftl_verify_icp_root_hash()
70 if (!avb_aftl_root_from_icp(icp_entry->leaf_index, in avb_aftl_verify_icp_root_hash()
71 icp_entry->log_root_descriptor.tree_size, in avb_aftl_verify_icp_root_hash()
72 icp_entry->proofs, in avb_aftl_verify_icp_root_hash()
73 icp_entry->proof_hash_count, in avb_aftl_verify_icp_root_hash()
81 icp_entry->log_root_descriptor.root_hash, in avb_aftl_verify_icp_root_hash()
88 AftlIcpEntry* icp_entry) { in avb_aftl_verify_entry_signature() argument
95 avb_assert(key != NULL && icp_entry != NULL); in avb_aftl_verify_entry_signature()
98 sig = icp_entry->log_root_signature; in avb_aftl_verify_entry_signature()
103 sig_num_bytes = icp_entry->log_root_sig_size; in avb_aftl_verify_entry_signature()
107 if (!avb_aftl_sha256(icp_entry->log_root_descriptor_raw, in avb_aftl_verify_entry_signature()
108 icp_entry->log_root_descriptor_size, in avb_aftl_verify_entry_signature()