cnstr_shdsc_...cipher_encap(9)
πΈ cnstr_shdsc_xts_skcipher_encap(9) πΈ
okay so bestie, welcome to the Kernel API Manual β yes, that's the manual name, we're fancy here π
β and today's main character is a little function called cnstr_shdsc_xts_skcipher_encap. Say it with me. I know. It's a mouthful. We love her anyway π«Ά
β¨ NAME β¨
cnstr_shdsc_xts_skcipher_encap β literally the xts skcipher encapsulation shared descriptor builder. That's her job. That's what she does. no cap π
π SYNOPSIS π
void cnstr_shdsc_xts_skcipher_encap (u32 * const desc , struct alginfo
*cdata );
look at that signature. flawless. iconic. she takes two pointers and returns absolutely nothing, which is honestly a whole mood π
π¦ ARGUMENTS π¦
descβ pointer to the buffer used for descriptor construction. think of it as the little construction site where the descriptor gets built, and she's the project manager ποΈcdataβ pointer to block cipher transform definitions. and here's the tea: the valid algorithm values areOP_ALG_ALGSEL_AESANDed withOP_ALG_AAI_XTS. that's the combo, that's the vibe check, don't try anything else β¨
π₯ SEE ALSO π₯
the whole group chat is here, and honestly they're all kind of famous:
- Kernel file
./drivers/crypto/caam/caamalg_desc.cβ that's the address, bestie, that's where she lives π 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_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_decap(9)
like, the whole squad. encap AND decap versions. balanced, as all things should be βοΈβ¨
heads up bestie: cnstr_shdsc_xts_skcipher_encap doesn't do encryption by itself, she just builds the descriptor. don't @ me, that's literally what the page says π«Ά
and that's the page!! π it lives in ./drivers/crypto/caam, it's dated October 2026, and the header/footer energy is all cnstr_shdsc_...cipher_encap(9) β go off, kernel docs, you ate πβπ
π¦ 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