title | description |
---|---|
KFunc 'bpf_verify_pkcs7_signature' |
This page documents the 'bpf_verify_pkcs7_signature' eBPF kfunc, including its defintion, usage, program types that can use it, and examples. |
Verify a PKCS#7 signature
Verify the PKCS#7 signature sig_ptr
against the supplied data_ptr
with keys in a keyring referenced by trusted_keyring
.
#!c int bpf_verify_pkcs7_signature(struct bpf_dynptr_kern *data_ptr, struct bpf_dynptr_kern *sig_ptr, struct bpf_key *trusted_keyring)
!!! note This function may sleep, and therefore can only be used from sleepable programs.
!!! example "Docs could be improved" This part of the docs is incomplete, contributions are very welcome
The following program types can make use of this kfunc:
!!! example "Docs could be improved" This part of the docs is incomplete, contributions are very welcome