cnstr_shdsc_aead_decap(9)
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 ofOP_ALG_ALGSEL_{AES, DES, 3DES}ANDed withOP_ALG_AAI_CBCorOP_ALG_AAI_CTR_MOD128.adataβ pointer to authentication transform definitions. Heads-up: a split key is required forSEC Era < 6; the size of the split key is specified in this case. Valid algorithm values are one ofOP_ALG_ALGSEL_{MD5, SHA1, SHA224, SHA256, SHA384, SHA512}ANDed withOP_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βtruewhenctr(aes)is wrapped by rfc3686 template.nonceβ pointer to rfc3686 nonce.ctx1_iv_offβ IV offset in CONTEXT1 register.is_qiβtruewhen called fromcaam/qi.eraβ SEC Era.
π¦ SEE ALSO π¦
- Kernel file:
./drivers/crypto/caam/caamalg_desc.c cnstr_shdsc_aead_null_encap(9)cnstr_shdsc_aead_null_decap(9)cnstr_shdsc_aead_encap(9)cnstr_shdsc_aead_givencap(9)cnstr_shdsc_gcm_encap(9)cnstr_shdsc_gcm_decap(9)cnstr_shdsc_rfc4106_encap(9)cnstr_shdsc_rfc4106_decap(9)cnstr_shdsc_rfc4543_encap(9)cnstr_shdsc_rfc4543_decap(9)cnstr_shdsc_chachapoly(9)cnstr_shdsc_skcipher_encap(9)cnstr_shdsc_skcipher_decap(9)cnstr_shdsc_xts_skcipher_encap(9)cnstr_shdsc_xts_skcipher_decap(9)
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
- 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