cnstr_shdsc_gcm_decap(9)
π cnstr_shdsc_gcm_decap β gcm decapsulation shared descriptor π
okay so bestie, welcome to the cnstr_shdsc_gcm_decap(9) page from the Kernel API Manual. yes she's niche. yes she's iconic. let's get into it β¨
πΈ NAME πΈ
cnstr_shdsc_gcm_decap β literally the gcm decapsulation shared descriptor builder. that's her job, that's her whole vibe π
π¦ SYNOPSIS π¦
void cnstr_shdsc_gcm_decap (u32 * const desc , struct alginfo *cdata ,
unsigned int ivsize , unsigned int icvsize , const bool is_qi );
returns void, so no spoilers, no return value, she just does the thing π
π₯ ARGUMENTS π₯
descβ pointer to the buffer that gets used for descriptor construction. she's the canvas, the main character π¨cdataβ pointer to block cipher transform definitions. valid algorithm values areOP_ALG_ALGSEL_AESANDed withOP_ALG_AAI_GCM. and yes bestie, that's ANDed, with a capital AND-ed, don't @ me πivsizeβ initialization vector size, the size of the iv, that's the whole vibe βicvsizeβ integrity check value (ICV) size. and it can be truncated or full, so either way she ate πis_qiβtruewhen called fromcaam/qi. like, that's the whole check.true= came fromcaam/qi, and that's the tea β
π SEE ALSO π
the kernel file that lives with all this:
./drivers/crypto/caam/caamalg_desc.c
and the whole friend group, fr fr β these are her people, go say hi π«Ά
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_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)
lowkey obsessed with how many of these there are. encap, decap, null, givencap β the caam family is huge and every single one of them got a manpage. periodt π
and that's a wrap, bestie π this page comes to you from ./drivers/crypto/caam, dated October 2026, filed under cnstr_shdsc_gcm_decap(9) β catch you in the next one, mwah π
π¦ 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