Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/fs/verity/
Denable.c152 u8 *root_hash) in build_merkle_tree() argument
163 memset(root_hash, 0, params->digest_size); in build_merkle_tree()
189 memcpy(root_hash, pending_hashes, params->digest_size); in build_merkle_tree()
267 BUILD_BUG_ON(sizeof(desc->root_hash) < FS_VERITY_MAX_DIGEST_SIZE); in enable_verity()
268 err = build_merkle_tree(filp, &params, desc->root_hash); in enable_verity()
274 params.hash_alg->name, params.digest_size, desc->root_hash); in enable_verity()
Dopen.c171 memcpy(vi->root_hash, desc->root_hash, vi->tree_params.digest_size); in fsverity_create_info()
Dfsverity_private.h68 u8 root_hash[FS_VERITY_MAX_DIGEST_SIZE]; member
Dverify.c135 want_hash = vi->root_hash; in verify_page()
/linux-6.1.9/include/uapi/linux/
Dfsverity.h58 __u8 root_hash[64]; /* Merkle tree root hash */ member
/linux-6.1.9/Documentation/filesystems/
Dfsverity.rst426 __u8 root_hash[64]; /* Merkle tree root hash */