Searched refs:root_hash (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/fs/verity/ |
D | enable.c | 115 u8 *root_hash) in build_merkle_tree() argument 125 memset(root_hash, 0, params->digest_size); in build_merkle_tree() 149 memcpy(root_hash, pending_hashes, params->digest_size); in build_merkle_tree() 229 BUILD_BUG_ON(sizeof(desc->root_hash) < FS_VERITY_MAX_DIGEST_SIZE); in enable_verity() 230 err = build_merkle_tree(inode, ¶ms, desc->root_hash); in enable_verity() 236 params.hash_alg->name, params.digest_size, desc->root_hash); in enable_verity()
|
D | fsverity_private.h | 72 u8 root_hash[FS_VERITY_MAX_DIGEST_SIZE]; member 88 __u8 root_hash[64]; /* Merkle tree root hash */ member
|
D | open.c | 199 memcpy(vi->root_hash, desc->root_hash, vi->tree_params.digest_size); in fsverity_create_info()
|
D | verify.c | 144 want_hash = vi->root_hash; in verify_page()
|
/Linux-v5.4/drivers/md/ |
D | dm-verity-verify-sig.c | 106 int verity_verify_root_hash(const void *root_hash, size_t root_hash_len, in verity_verify_root_hash() argument 111 if (!root_hash || root_hash_len == 0) in verity_verify_root_hash() 121 ret = verify_pkcs7_signature(root_hash, root_hash_len, sig_data, in verity_verify_root_hash()
|
/Linux-v5.4/Documentation/filesystems/ |
D | fsverity.rst | 331 __u8 root_hash[64]; /* Merkle tree root hash */
|