Home
last modified time | relevance | path

Searched refs:root_hash (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/fs/verity/
Denable.c115 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, &params, desc->root_hash); in enable_verity()
236 params.hash_alg->name, params.digest_size, desc->root_hash); in enable_verity()
Dfsverity_private.h72 u8 root_hash[FS_VERITY_MAX_DIGEST_SIZE]; member
88 __u8 root_hash[64]; /* Merkle tree root hash */ member
Dopen.c199 memcpy(vi->root_hash, desc->root_hash, vi->tree_params.digest_size); in fsverity_create_info()
Dverify.c144 want_hash = vi->root_hash; in verify_page()
/Linux-v5.4/drivers/md/
Ddm-verity-verify-sig.c106 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/
Dfsverity.rst331 __u8 root_hash[64]; /* Merkle tree root hash */