cnstr_shdsc_...cipher_decap(9)
π cnstr_shdsc_...cipher_decap β the Kernel API Manual one π
okay so bestie, this is a page straight out of the Kernel API Manual and it's literally the glow-up guide for cnstr_shdsc_xts_skcipher_decap(9). yes the title has an ellipsis in it, no that's not a typo, that's just how the manpage header do. slay. β¨
πΈ NAME πΈ
cnstr_shdsc_xts_skcipher_decap β xts skcipher decapsulation shared descriptor π
like, it builds the shared descriptor that does XTS skcipher decapsulation. that's the whole vibe. no cap.
β¨ SYNOPSIS β¨
void cnstr_shdsc_xts_skcipher_decap (u32 * const desc , struct alginfo *cdata );
she takes two things and returns void, meaning she does the work and doesn't even ask for a thank-you. main character energy fr fr π
π¦ ARGUMENTS π¦
descβ pointer to the buffer used for descriptor construction π§ you bring the buffer, she fills it with descriptor. that's the arrangement.cdataβ pointer to block cipher transform definitions. valid algorithm values areOP_ALG_ALGSEL_AESANDed withOP_ALG_AAI_XTSπ₯ iykyk, that's the only combo on the guest list.
ngl bestie, that AND is doing real work.OP_ALG_ALGSEL_AESANDed withOP_ALG_AAI_XTSβ don't try to be creative with it, the manpage said valid algorithm values and meant it π
π SEE ALSO π
the kernel file lives at ./drivers/crypto/caam/caamalg_desc.c and she's got a whole friend group, here's the group chat:
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_encap(9)
like every single one of them, we're not skipping anyone, everyone ate π
and that's the page!! π«Ά before you go β this whole thing came from ./drivers/crypto/caam, dated October 2026, and it's filed under cnstr_shdsc_...cipher_decap(9). okay bye bestie, go construct some descriptors πβ
π¦ 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