cnstr_shdsc_aead_decap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

cnstr_shdsc_aead_decap(9) πŸ’…βœ¨

okay so this is the Kernel API Manual page for cnstr_shdsc_aead_decap(9), and it’s literally all about the IPSec ESP decapsulation shared descriptor β€” the non-protocol one, iykyk 🫢.

✨ NAME ✨

cnstr_shdsc_aead_decap β€” IPSec ESP decapsulation shared descriptor (non-protocol).

🌸 SYNOPSIS 🌸

void cnstr_shdsc_aead_decap (u32 * const desc , struct alginfo *cdata ,
struct alginfo *adata , unsigned int ivsize , unsigned int icvsize ,
const bool geniv , const bool is_rfc3686 , u32 *nonce , const u32
ctx1_iv_off , const bool is_qi , int era );

πŸ’– ARGUMENTS πŸ’–

  • desc β€” pointer to the buffer used for descriptor construction. This is where the descriptor gets built, bestie.
  • cdata β€” pointer to block cipher transform definitions. Valid algorithm values are one of OP_ALG_ALGSEL_{AES, DES, 3DES} ANDed with OP_ALG_AAI_CBC or OP_ALG_AAI_CTR_MOD128.
  • adata β€” pointer to authentication transform definitions. Heads-up: a split key is required for SEC Era < 6; the size of the split key is specified in this case. Valid algorithm values are one of OP_ALG_ALGSEL_{MD5, SHA1, SHA224, SHA256, SHA384, SHA512} ANDed with OP_ALG_AAI_HMAC_PRECOMP.
  • ivsize β€” initialization vector size.
  • icvsize β€” integrity check value (ICV) size, truncated or full.
  • geniv β€” whether to generate Encrypted Chain IV.
  • is_rfc3686 β€” true when ctr(aes) is wrapped by rfc3686 template.
  • nonce β€” pointer to rfc3686 nonce.
  • ctx1_iv_off β€” IV offset in CONTEXT1 register.
  • is_qi β€” true when called from caam/qi.
  • era β€” SEC Era.

πŸ¦‹ SEE ALSO πŸ¦‹


xoxo, signing off from the source/version line ./drivers/crypto/caam, dated October 2026, for cnstr_shdsc_aead_decap(9) β€” periodt πŸ’–βœ¨

πŸ“¦ where this page comes from