Searched refs:root_hash (Results 1 – 12 of 12) sorted by relevance
/external/fsverity-utils/lib/ |
D | compute_digest.c | 55 u8 *root_hash) in compute_root_hash() argument 70 memset(root_hash, 0, hash->alg->digest_size); in compute_root_hash() 103 buffers[num_levels].data = root_hash; in compute_root_hash() 221 params->salt_size, desc.root_hash); in libfsverity_compute_digest()
|
/external/avb/test/ |
D | avb_aftl_validate_unittest.cc | 184 icp_entry_->log_root_descriptor.root_hash = in SetUp() 186 if (!icp_entry_->log_root_descriptor.root_hash) return; in SetUp() 188 memcpy(icp_entry_->log_root_descriptor.root_hash, in SetUp() 265 if (icp_entry_->log_root_descriptor.root_hash) in TearDown() 266 avb_free(icp_entry_->log_root_descriptor.root_hash); in TearDown()
|
/external/avb/libavb_aftl/ |
D | avb_aftl_util.c | 235 uint8_t* root_hash) { in avb_aftl_root_from_icp() argument 246 avb_assert(proof != NULL && leaf_hash != NULL && root_hash != NULL); in avb_aftl_root_from_icp() 290 hash, AVB_AFTL_HASH_SIZE, border_proof, border_proof_size, root_hash); in avb_aftl_root_from_icp() 396 if (!read_mem(&(icp_entry->log_root_descriptor.root_hash), in parse_trillian_log_root_descriptor() 903 if (icp_entry->log_root_descriptor.root_hash) in free_aftl_icp_entry() 904 avb_free(icp_entry->log_root_descriptor.root_hash); in free_aftl_icp_entry()
|
D | avb_aftl_util.h | 100 uint8_t* root_hash); /* The resulting tree root hash. */
|
D | avb_aftl_validate.c | 81 icp_entry->log_root_descriptor.root_hash, in avb_aftl_verify_icp_root_hash()
|
D | avb_aftl_types.h | 114 uint8_t* root_hash; member
|
/external/fsverity-utils/common/ |
D | fsverity_uapi.h | 60 __u8 root_hash[64]; /* Merkle tree root hash */ member
|
/external/kernel-headers/original/uapi/linux/ |
D | fsverity.h | 58 __u8 root_hash[64]; /* Merkle tree root hash */ member
|
/external/avb/ |
D | aftltool_test.py | 187 self.test_sth_1.root_hash = b'f' * 32 263 self.test_sth_2.root_hash = b'e' * 32 505 root_hash = aftltool.root_from_icp(leaf_id, icp[1], icp[2], leaf_hash) 506 self.assertEqual(root_hash, roots[icp[1] -1]) 957 self.assertEqual(d.root_hash, b'') 969 self.assertEqual(d.root_hash, 1048 d.root_hash = b'123' 1050 d.root_hash = b'1234' 1364 icp.log_root_descriptor.root_hash, binascii.unhexlify(
|
D | aftltool | 500 if ((calc_root == self.log_root_descriptor.root_hash) and 675 self.root_hash = data[0:self.root_hash_size] 678 self.root_hash = b'' 695 self.root_hash = b'' 733 self.root_hash, self.timestamp, self.revision, 754 if len(self.root_hash) != self.root_hash_size: 757 len(self.root_hash))) 791 o.write(fmt.format(i, 'Root hash:', self.root_hash.hex()))
|
D | aftltool.py | 500 if ((calc_root == self.log_root_descriptor.root_hash) and 675 self.root_hash = data[0:self.root_hash_size] 678 self.root_hash = b'' 695 self.root_hash = b'' 733 self.root_hash, self.timestamp, self.revision, 754 if len(self.root_hash) != self.root_hash_size: 757 len(self.root_hash))) 791 o.write(fmt.format(i, 'Root hash:', self.root_hash.hex()))
|
/external/avb/proto/ |
D | trillian.proto | 243 // opaque root_hash<0..128>; 279 reserved 2; // Deprecated: Was root_hash. Use map_root. 291 // opaque root_hash<0..128>;
|