set_hash_cipher_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ set_hash_cipher_mode(9) ✨

Kernel API Manual, section 9 β€” okay bestie, this page is giving kernel crypto API realness, and it's all about setting the cipher mode for hash algorithms. 🫢

πŸ’– NAME πŸ’–

set_hash_cipher_mode β€” Set the cipher mode for hash algorithms. πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

void set_hash_cipher_mode (struct cc_hw_desc *pdesc , enum
drv_cipher_mode cipher_mode , enum drv_hash_mode hash_mode );

🌸 ARGUMENTS 🌸

  • pdesc β€” Pointer to HW descriptor struct. That's your pointer to the hardware descriptor struct, the whole main-character handle. πŸ’…
  • cipher_mode β€” Any one of the modes defined in [CC7x-DESC]. Pick any one of the modes defined in [CC7x-DESC], no cap. ✨
  • hash_mode β€” specifies which hash is being handled. It literally specifies which hash is being handled, iykyk. πŸ¦‹

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/crypto/ccree/cc_hw_queue_defs.h is the file bestie, and then there's this whole friend group of functions to check out:


And that's the page, bestie! Source/version: ./drivers/crypto/ccree, dated October 2026, and yes, the title is literally set_hash_cipher_mode(9). Periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from