Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_sig_in_xattr.c48 struct bpf_dynptr digest_ptr, sig_ptr; in BPF_PROG() local
58 bpf_dynptr_from_mem(digest + MAGIC_SIZE, sizeof(digest) - MAGIC_SIZE, 0, &digest_ptr); in BPF_PROG()
60 ret = bpf_get_fsverity_digest(f, &digest_ptr); in BPF_PROG()
66 bpf_dynptr_from_mem(digest, sizeof(digest), 0, &digest_ptr); in BPF_PROG()
80 ret = bpf_verify_pkcs7_signature(&digest_ptr, &sig_ptr, trusted_keyring); in BPF_PROG()
H A Dtest_fsverity.c26 struct bpf_dynptr digest_ptr; in BPF_PROG() local
35 bpf_dynptr_from_mem(digest, sizeof(digest), 0, &digest_ptr); in BPF_PROG()
36 ret = bpf_get_fsverity_digest(f, &digest_ptr); in BPF_PROG()
/linux/fs/verity/
H A Dmeasure.c122 struct bpf_dynptr_kern *digest_ptr = (struct bpf_dynptr_kern *)digest_p; in bpf_get_fsverity_digest() local
124 u32 dynptr_sz = __bpf_dynptr_size(digest_ptr); in bpf_get_fsverity_digest()
133 arg = __bpf_dynptr_data_rw(digest_ptr, dynptr_sz); in bpf_get_fsverity_digest()
/linux/tools/testing/selftests/bpf/
H A Dbpf_kfuncs.h70 extern int bpf_get_fsverity_digest(struct file *file, struct bpf_dynptr *digest_ptr) __ksym;