Home
last modified time | relevance | path

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

/Linux-v5.10/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.10/fs/verity/
Denable.c153 u8 *root_hash) in build_merkle_tree() argument
164 memset(root_hash, 0, params->digest_size); in build_merkle_tree()
190 memcpy(root_hash, pending_hashes, params->digest_size); in build_merkle_tree()
268 BUILD_BUG_ON(sizeof(desc->root_hash) < FS_VERITY_MAX_DIGEST_SIZE); in enable_verity()
269 err = build_merkle_tree(filp, &params, desc->root_hash); in enable_verity()
275 params.hash_alg->name, params.digest_size, desc->root_hash); in enable_verity()
Dfsverity_private.h75 u8 root_hash[FS_VERITY_MAX_DIGEST_SIZE]; member
91 __u8 root_hash[64]; /* Merkle tree root hash */ member
Dopen.c200 memcpy(vi->root_hash, desc->root_hash, vi->tree_params.digest_size); in fsverity_create_info()
Dverify.c145 want_hash = vi->root_hash; in verify_page()
/Linux-v5.10/Documentation/filesystems/
Dfsverity.rst339 __u8 root_hash[64]; /* Merkle tree root hash */