cnstr_shdsc_gcm_decap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 are OP_ALG_ALGSEL_AES ANDed with OP_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 β€” true when called from caam/qi. like, that's the whole check. true = came from caam/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