cnstr_shdsc_rfc4106_encap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the cnstr_shdsc_rfc4106_encap(9) page from the Kernel API Manual β€” this one is all about the IPSec ESP gcm encapsulation shared descriptor (non-protocol). πŸ’–βœ¨

🌸 NAME 🌸

cnstr_shdsc_rfc4106_encap β€” IPSec ESP gcm encapsulation shared descriptor (non-protocol). periodt. πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

void cnstr_shdsc_rfc4106_encap (u32 * const desc , struct alginfo *cdata
       , unsigned int ivsize , unsigned int icvsize , const bool is_qi );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • desc β€” pointer to buffer used for descriptor construction.
  • cdata β€” pointer to block cipher transform definitions Valid algorithm values - OP_ALG_ALGSEL_AES ANDed with OP_ALG_AAI_GCM.
  • ivsize β€” initialization vector size.
  • icvsize β€” integrity check value (ICV) size (truncated or full).
  • is_qi β€” true when called from caam/qi.

✨ DESCRIPTION ✨

okay so the sequence tea is: input sequence is AAD | PTXT, and output sequence is AAD | CTXT | ICV. AAD length (assoclen), which includes the IV length, is available in Math3. no cap, that’s the whole vibe. 🫢

πŸ”₯ SEE ALSO πŸ”₯


byeee bestie, this page is sourced/versioned from ./drivers/crypto/caam and dated October 2026, and it’s literally the cnstr_shdsc_rfc4106_encap(9) page πŸ’…βœ¨

πŸ“¦ where this page comes from