Searched refs:trusted_keyring (Results 1 – 3 of 3) sorted by relevance
22 struct bpf_key *trusted_keyring) __ksym;49 struct bpf_key *trusted_keyring; in BPF_PROG() local78 trusted_keyring = bpf_lookup_user_key(user_keyring_serial, 0); in BPF_PROG()80 trusted_keyring = bpf_lookup_system_key(system_keyring_id); in BPF_PROG()82 if (!trusted_keyring) in BPF_PROG()85 ret = bpf_verify_pkcs7_signature(&data_ptr, &sig_ptr, trusted_keyring); in BPF_PROG()87 bpf_key_put(trusted_keyring); in BPF_PROG()
18 struct bpf_key *trusted_keyring) __ksym;68 struct bpf_key *trusted_keyring; in BPF_PROG() local85 trusted_keyring = bpf_lookup_system_key(0); in BPF_PROG()86 if (!trusted_keyring) in BPF_PROG()89 err = bpf_verify_pkcs7_signature(&ptr, &ptr, trusted_keyring); in BPF_PROG()91 bpf_key_put(trusted_keyring); in BPF_PROG()
1332 struct bpf_key *trusted_keyring) in bpf_verify_pkcs7_signature() argument1336 if (trusted_keyring->has_ref) { in bpf_verify_pkcs7_signature()1345 ret = key_validate(trusted_keyring->key); in bpf_verify_pkcs7_signature()1354 trusted_keyring->key, in bpf_verify_pkcs7_signature()