cnstr_shdsc_rfc4106_encap(9)
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_AESANDed withOP_ALG_AAI_GCM.ivsizeβ initialization vector size.icvsizeβ integrity check value (ICV) size (truncated or full).is_qiβtruewhen called fromcaam/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 π₯
- 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_decap(9)cnstr_shdsc_aead_givencap(9)cnstr_shdsc_gcm_encap(9)cnstr_shdsc_gcm_decap(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)
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
- 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