Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/fs/verity/
Denable.c180 u8 *root_hash, in build_merkle_tree() argument
192 memset(root_hash, 0, params->digest_size); in build_merkle_tree()
218 memcpy(root_hash, pending_hashes, params->digest_size); in build_merkle_tree()
323 BUILD_BUG_ON(sizeof(desc->root_hash) < FS_VERITY_MAX_DIGEST_SIZE); in fsverity_enable_with_descriptor()
324 err = build_merkle_tree(filp, &params, desc->root_hash, desc->data_size); in fsverity_enable_with_descriptor()
332 params.hash_alg->name, params.digest_size, desc->root_hash); in fsverity_enable_with_descriptor()
580 if (copy_from_user(desc->root_hash, u64_to_user_ptr(arg->root_hash_ptr), in code_sign_init_descriptor()
Dfsverity_private.h76 u8 root_hash[FS_VERITY_MAX_DIGEST_SIZE]; member
97 __u8 root_hash[64]; /* Merkle tree root hash */ member
Dopen.c217 memcpy(vi->root_hash, desc->root_hash, vi->tree_params.digest_size); in fsverity_create_info()
Dverify.c152 want_hash = vi->root_hash; in verify_page()
/kernel/linux/linux-5.10/include/linux/
Dcode_sign.h23 __u8 root_hash[64]; /* Merkle tree root hash */ member
/kernel/linux/linux-5.10/Documentation/filesystems/
Dfsverity.rst339 __u8 root_hash[64]; /* Merkle tree root hash */