cnstr_shdsc_...cipher_decap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 are OP_ALG_ALGSEL_AES ANDed with OP_ALG_AAI_XTS πŸ”₯ iykyk, that's the only combo on the guest list.
ngl bestie, that AND is doing real work. OP_ALG_ALGSEL_AES ANDed with OP_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:

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