cnstr_shdsc_rfc4543_decap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cnstr_shdsc_rfc4543_decap β€” bestie, it's a kernel API manual page (section 9, kernel space, no cap)

Okay so listen πŸ‘‚βœ¨ this one is a function from the Kernel API Manual, and it's called cnstr_shdsc_rfc4543_decap. Say that three times fast, I dare you 😭 It's the IPSec ESP gmac decapsulation shared descriptor constructor β€” but like, the non-protocol one, so don't come for me about protocols, that's not what this is πŸŽ€


✨ NAME ✨

cnstr_shdsc_rfc4543_decap β€” builds the shared descriptor for IPSec ESP gmac decapsulation (non-protocol, okay? non-protocol πŸ’…).


🌸 SYNOPSIS 🌸

void cnstr_shdsc_rfc4543_decap (u32 * const desc , struct alginfo *cdata
, unsigned int ivsize , unsigned int icvsize , const bool is_qi );

It returns void, so literally nothing comes back at you, she just does the work and leaves 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • desc β€” pointer to the buffer you're using for descriptor construction. Like, this is where the descriptor gets built, bestie, hand her the canvas 🎨
  • cdata β€” pointer to the block cipher transform definitions. Valid algorithm values are OP_ALG_ALGSEL_AES ANDed with OP_ALG_AAI_GCM. That's the vibe check, no other combos allowed, periodt πŸ”₯
  • ivsize β€” the initialization vector size. Yep, ivsize, that's it, that's the whole thing ✨
  • icvsize β€” the integrity check value (ICV) size. Can be truncated or full, she's flexible like that πŸ’–
  • is_qi β€” set to true when it's called from caam/qi. Like, are we in qi mode or are we not, that's the whole question πŸ‘‘

πŸ‘‘ SEE ALSO πŸ‘‘

Lowkey the whole friend group shows up here 🫢:


πŸ’€ reminder bestie: cdata has to be OP_ALG_ALGSEL_AES ANDed with OP_ALG_AAI_GCM. Anything else and that's not it, fr fr πŸ™ˆ

Okay that's the whole page, mwah πŸ’‹ This gem lives in ./drivers/crypto/caam and the version on deck is dated October 2026 β€” so yeah, future-coded of her 🌈 slay, go build some descriptors πŸ§šβ€β™€οΈπŸ’œ

πŸ“¦ where this page comes from