STRUCT BPF_CRYPTO_PARAMS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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:


That's the whole page, bestie 🫢. Source/version: ./kernel/bpf, dated October 2026. Stay slay πŸ’…βœ¨

πŸ“¦ where this page comes from