set_key_size_des(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… set_key_size_des(9)

okay so welcome to the set_key_size_des(9) page, bestie β€” this is a Kernel API Manual situation and it's honestly tiny but iconic πŸŽ€


✨ NAME ✨

set_key_size_des β€” literally just sets the DES key size. that's the whole vibe, no cap πŸ’–


🌸 SYNOPSIS 🌸

void set_key_size_des (struct cc_hw_desc *pdesc , u32 size );

it returns void, so like… it gives nothing back, it just does the thing πŸ¦‹


πŸ’… ARGUMENTS πŸ’…

  • pdesc β€” a pointer to the HW descriptor struct. yes queen, hand over the descriptor πŸ“¨
  • size β€” the key size in bytes. and hear me out: this is the size in bytes, NOT the size code 😭 do not come in here with a size code, that's a different thing entirely, iykyk

πŸ”₯ SEE ALSO πŸ”₯

the whole friend group lives in the kernel file ./drivers/crypto/ccree/cc_hw_queue_defs.h and honestly they're all linked below β€” go say hi to every single one of them, no skipping πŸ™ˆ


πŸ’€ reminder that size means bytes, not a size code. i'm not being dramatic, i'm being accurate. periodt.

and that's the page, bestie!! 🫢 this cutie came out of the ./drivers/crypto/ccree corner of the kernel and it's dated October 2026 ⭐ go forth and set those DES key sizes responsibly πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from