Home
last modified time | relevance | path

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

/linux/fs/verity/
H A Dmeasure.c128 int out_digest_sz; in bpf_get_fsverity_digest() local
149 out_digest_sz = dynptr_sz - sizeof(struct fsverity_digest); in bpf_get_fsverity_digest()
152 memcpy(arg->digest, vi->file_digest, min_t(int, hash_alg->digest_size, out_digest_sz)); in bpf_get_fsverity_digest()
155 if (out_digest_sz > hash_alg->digest_size) in bpf_get_fsverity_digest()
156 memset(arg->digest + arg->digest_size, 0, out_digest_sz - hash_alg->digest_size); in bpf_get_fsverity_digest()