cnstr_shdsc_rfc4543_encap(9)
π cnstr_shdsc_rfc4543_encap β a Kernel API Manual moment β¨
okay so bestie, welcome to the Kernel API Manual for cnstr_shdsc_rfc4543_encap πΈ this is the one about building an IPSec ESP gmac encapsulation shared descriptor, and it is, and I cannot stress this enough, non-protocol. no cap.
β¨ NAME β¨
cnstr_shdsc_rfc4543_encap β IPSec ESP gmac encapsulation shared descriptor (non-protocol). literally what it says on the tin π
π¦ SYNOPSIS π¦
void cnstr_shdsc_rfc4543_encap (u32 * const desc , struct alginfo *cdata
, unsigned int ivsize , unsigned int icvsize , const bool is_qi );
she takes five things and returns void. main character energy honestly π
π ARGUMENTS π
descβ pointer to the buffer used for descriptor construction. like, this is the canvas, the construction site, the whole vibe ποΈcdataβ pointer to block cipher transform definitions. valid algorithm values areOP_ALG_ALGSEL_AESANDed withOP_ALG_AAI_GCMβ that exact combo, don't get creative with it π₯ivsizeβ initialization vector size. the IV's whole size situation πicvsizeβ integrity check value (ICV) size, and it can be truncated or full. both are valid, she's flexible like that π«Άis_qiβtruewhen called fromcaam/qi. so like, are we in the qi house or not π
π SEE ALSO π
kernel file ./drivers/crypto/caam/caamalg_desc.c β that's where she lives, go say hi π
and the whole friend group, omg the friend group:
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_encap(9)cnstr_shdsc_rfc4106_decap(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)
all iconic, all linked, periodt π
ngl bestie this is the encap one β if you were looking for the decap twin, she's literally right there in the list above, cnstr_shdsc_rfc4543_decap(9) π
okay that's the whole page!! sourced straight from ./drivers/crypto/caam, dated October 2026, version era of the same name cnstr_shdsc_rfc4543_encap(9) β byeee, go construct some descriptors, drink water, ily ππ§π
π¦ 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