set_cipher_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… set_cipher_mode(9) β€” like, the cipher mode setter, bestie

okay so this is set_cipher_mode, straight out of the Kernel API Manual (section 9, kernel-space girlies only ✨). it's a tiny little function that does exactly one thing and honestly? it ate. let's get into it πŸŽ€


🌸 NAME 🌸

set_cipher_mode β€” sets the cipher mode. that's it. that's the whole job. lowkey iconic for having zero identity crisis πŸ’…


✨ SYNOPSIS ✨

void set_cipher_mode (struct cc_hw_desc *pdesc , int mode );

returns nothing (void, she gives nothing back and we respect her for it 🫢), takes a descriptor pointer and a mode. two args, no drama, periodt.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • pdesc β€” pointer to the HW descriptor struct. like, the hardware descriptor. she needs the pointer, not a copy, we're not doing that today πŸ™ˆ
  • mode β€” any one of the modes defined in [CC7x-DESC]. any one, bestie β€” go look at [CC7x-DESC] for the actual list, don't come for me, I'm just the messenger πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

okay this is the part where the manpage just absolutely dumps the whole squad on you β€” every sibling setter and helper in the ccree crypto crew. no cap, here's the full roll call, iykyk πŸ‘‘

Kernel file ./drivers/crypto/ccree/cc_hw_queue_defs.h

thirty-one friends and every single one of them is a (9). the way this header file is basically a group chat πŸ˜­πŸ’–


and that's the whole page, bestie. stay hydrated, set your cipher mode responsibly, and go read set_cipher_do(9) next because she's literally right there 🌈⭐

mwah πŸ’‹ β€” brought to you by the ./drivers/crypto/ccree directory, kernel API manual vibes, dated October 2026, page set_cipher_mode(9). see u in the next manpage, love u fr fr πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from