STRUCT BPF_CRYPTO_PARAMS(9)
πΈ NAME πΈ
Hiii bestie π welcome to the struct bpf_crypto_params(9) page of the Kernel API Manual. This is the BPF crypto initialization parameters structure β the struct that holds your BPF crypto init params. Iconic, honestly. β¨
π« SYNOPSIS π«
Here's the struct in all its glory, exactly as it appears:
struct bpf_crypto_params {
char type[14];
u8 reserved[2];
char algo[128];
u8 key[256];
u32 key_len;
u32 authsize;
};
No notes, just vibes β .
π§ Members π§
typeβ the string of crypto operation type. πreservedβ reserved member, will be reused for more options in future. Values:0. Leave this one alone, bestie π βοΈ.algoβ the string of algorithm to initialize. π§ͺβ¨keyβ the cipher key used to init crypto algorithm. πkey_lenβ the length of cipher key. πauthsizeβ the length of authentication tag used by algorithm. π·οΈ
π SEE ALSO π
Kernel file ./kernel/bpf/crypto.c, plus these linked besties:
struct bpf_crypto_ctx(9)bpf_crypto_ctx_create(9)bpf_crypto_ctx_acquire(9)bpf_crypto_ctx_release(9)bpf_crypto_decrypt(9)bpf_crypto_encrypt(9)
That's the whole page, bestie π«Ά. Source/version: ./kernel/bpf, dated October 2026. Stay slay π
β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms