Searched refs:digest_ptr (Results 1 – 4 of 4) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_sig_in_xattr.c | 48 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 D | test_fsverity.c | 26 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 D | measure.c | 122 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 D | bpf_kfuncs.h | 70 extern int bpf_get_fsverity_digest(struct file *file, struct bpf_dynptr *digest_ptr) __ksym;
|