cnstr_shdsc_rfc4543_encap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 are OP_ALG_ALGSEL_AES ANDed with OP_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 β€” true when called from caam/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:

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