Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dtest_verify_pkcs7_sig.c22 struct bpf_key *trusted_keyring) __ksym;
49 struct bpf_key *trusted_keyring; in BPF_PROG() local
82 trusted_keyring = bpf_lookup_user_key(user_keyring_serial, 0); in BPF_PROG()
84 trusted_keyring = bpf_lookup_system_key(system_keyring_id); in BPF_PROG()
86 if (!trusted_keyring) in BPF_PROG()
89 ret = bpf_verify_pkcs7_signature(&data_ptr, &sig_ptr, trusted_keyring); in BPF_PROG()
91 bpf_key_put(trusted_keyring); in BPF_PROG()
A Dtest_kfunc_dynptr_param.c19 struct bpf_key *trusted_keyring) __ksym;
60 struct bpf_key *trusted_keyring; in BPF_PROG() local
77 trusted_keyring = bpf_lookup_system_key(0); in BPF_PROG()
78 if (!trusted_keyring) in BPF_PROG()
81 err = bpf_verify_pkcs7_signature(&ptr, &ptr, trusted_keyring); in BPF_PROG()
83 bpf_key_put(trusted_keyring); in BPF_PROG()
/linux-6.3-rc2/kernel/trace/
A Dbpf_trace.c1333 struct bpf_key *trusted_keyring) in bpf_verify_pkcs7_signature() argument
1337 if (trusted_keyring->has_ref) { in bpf_verify_pkcs7_signature()
1346 ret = key_validate(trusted_keyring->key); in bpf_verify_pkcs7_signature()
1355 trusted_keyring->key, in bpf_verify_pkcs7_signature()

Completed in 13 milliseconds