Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/dm-verity/
H A Dtest-dm-verity-keyring.sh287 local root_hash output
289 root_hash=$(echo "$output" | grep "Root hash:" | awk '{print $3}')
291 if [ -z "$root_hash" ]; then
297 echo "$root_hash" > "$WORK_DIR/root_hash"
298 log_info "Root hash: $root_hash"
327 local root_hash
328 root_hash=$(cat "$WORK_DIR/root_hash")
335 veritysetup open "$DATA_DEV" "$DM_NAME" "$HASH_DEV" "$root_hash" \
340 veritysetup open "$DATA_DEV" "$DM_NAME" "$HASH_DEV" "$root_hash" 2>&1
602 local root_hash
[all …]
/linux/include/trace/events/
H A Dfsverity.h50 __dynamic_array(u8, root_hash, params->digest_size)
59 memcpy(__get_dynamic_array(root_hash), vi->root_hash, __get_dynamic_array_len(root_hash));
68 __print_hex_str(__get_dynamic_array(root_hash), __get_dynamic_array_len(root_hash)),
/linux/drivers/md/
H A Ddm-verity-verify-sig.c122 int verity_verify_root_hash(const void *root_hash, size_t root_hash_len, in verity_verify_root_hash() argument
127 if (!root_hash || root_hash_len == 0) in verity_verify_root_hash()
137 ret = verify_pkcs7_signature(root_hash, root_hash_len, sig_data, in verity_verify_root_hash()
147 ret = verify_pkcs7_signature(root_hash, root_hash_len, sig_data, in verity_verify_root_hash()
158 ret = verify_pkcs7_signature(root_hash, root_hash_len, in verity_verify_root_hash()
/linux/security/ipe/
H A Dhooks.c235 ipe_digest_free(blob->root_hash); in ipe_bdev_free_security()
283 ipe_digest_free(blob->root_hash); in ipe_bdev_setintegrity()
284 blob->root_hash = NULL; in ipe_bdev_setintegrity()
304 ipe_digest_free(blob->root_hash); in ipe_bdev_setintegrity()
305 blob->root_hash = info; in ipe_bdev_setintegrity()
H A Deval.c138 !!ctx->ipe_bdev->root_hash && in evaluate_dmv_roothash()
140 ctx->ipe_bdev->root_hash); in evaluate_dmv_roothash()
H A Deval.h30 struct digest_info *root_hash; member
/linux/fs/verity/
H A Denable.c70 u8 *root_hash) in build_merkle_tree() argument
84 memset(root_hash, 0, params->digest_size); in build_merkle_tree()
100 buffers[num_levels].data = root_hash; in build_merkle_tree()
250 BUILD_BUG_ON(sizeof(desc->root_hash) < FS_VERITY_MAX_DIGEST_SIZE); in enable_verity()
251 err = build_merkle_tree(filp, &params, desc->root_hash); in enable_verity()
H A Dopen.c208 memcpy(vi->root_hash, desc->root_hash, vi->tree_params.digest_size); in fsverity_create_info()
H A Dfsverity_private.h76 u8 root_hash[FS_VERITY_MAX_DIGEST_SIZE]; member
H A Dverify.c273 want_hash = vi->root_hash; in verify_data_block()
/linux/include/uapi/linux/
H A Dfsverity.h58 __u8 root_hash[64]; /* Merkle tree root hash */ member
/linux/Documentation/filesystems/
H A Dfsverity.rst463 __u8 root_hash[64]; /* Merkle tree root hash */