Searched refs:trusted_keyring (Results 1 – 5 of 5) sorted by relevance
19 struct bpf_key *trusted_keyring) __ksym;60 struct bpf_key *trusted_keyring; in BPF_PROG() local77 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()
44 struct bpf_key *trusted_keyring; in BPF_PROG() local77 trusted_keyring = bpf_lookup_user_key(user_keyring_serial, 0); in BPF_PROG()79 trusted_keyring = bpf_lookup_system_key(system_keyring_id); in BPF_PROG()81 if (!trusted_keyring) in BPF_PROG()84 ret = bpf_verify_pkcs7_signature(&data_ptr, &sig_ptr, trusted_keyring); in BPF_PROG()86 bpf_key_put(trusted_keyring); in BPF_PROG()
49 struct bpf_key *trusted_keyring; in BPF_PROG() local75 trusted_keyring = bpf_lookup_user_key(user_keyring_serial, 0); in BPF_PROG()76 if (!trusted_keyring) in BPF_PROG()80 ret = bpf_verify_pkcs7_signature(&digest_ptr, &sig_ptr, trusted_keyring); in BPF_PROG()82 bpf_key_put(trusted_keyring); in BPF_PROG()
77 struct bpf_key *trusted_keyring) __ksym;
1375 struct bpf_key *trusted_keyring) in bpf_verify_pkcs7_signature() argument1383 if (trusted_keyring->has_ref) { in bpf_verify_pkcs7_signature()1392 ret = key_validate(trusted_keyring->key); in bpf_verify_pkcs7_signature()1403 trusted_keyring->key, in bpf_verify_pkcs7_signature()