set_cipher_config0(9)
set_cipher_config0(9) π
okay so this is a page from the Kernel API Manual, bestie, and we're talking about one lil' function in ./drivers/crypto/ccree β the ccree crypto driver. it's a setter. it sets cipher config fields. that's the whole vibe. let's get into it β¨
β¨ NAME β¨
set_cipher_config0 β literally just sets the cipher configuration fields. no cap, that's it. π
π¦ SYNOPSIS π¦
void set_cipher_config0 (struct cc_hw_desc *pdesc , int mode );
πΈ ARGUMENTS πΈ
pdescβ a pointer to the HW descriptor struct. like, the actual hardware descriptor you're poking at. π«Άmodeβ any one of the modes defined in[CC7x-DESC]. any one, bestie. go check that reference before you just pass a random int, i'm begging π
π SEE ALSO π
this function does not exist alone, she has a whole friend group. all of these live in the kernel file ./drivers/crypto/ccree/cc_hw_queue_defs.h:
hw_desc_init(9)set_queue_last_ind_bit(9)set_din_type(9)set_din_no_dma(9)set_cpp_crypto_key(9)set_din_sram(9)set_din_const(9)set_din_not_last_indication(9)set_dout_type(9)set_dout_dlli(9)set_dout_mlli(9)set_dout_no_dma(9)set_xor_val(9)set_xor_active(9)set_aes_not_hash_mode(9)set_aes_xor_crypto_key(9)set_dout_sram(9)set_xex_data_unit_size(9)set_multi2_num_rounds(9)set_flow_mode(9)set_cipher_mode(9)set_hash_cipher_mode(9)set_cipher_config1(9)β yeah there's a config1 too, she's the sequel πset_hw_crypto_key(9)set_bytes_swap(9)set_cmac_size0_mode(9)set_key_size(9)set_key_size_aes(9)set_key_size_des(9)set_setup_mode(9)set_cipher_do(9)
like i said. huge friend group. main character energy for the whole header file honestly π
ngl the whole page is short β it's a setter, it does one thing, and it ate. don't overthink it, just pass a validmodefrom[CC7x-DESC]and you're golden π
and that's the page, babes π§ this gem comes to you from the source/version at ./drivers/crypto/ccree, dated October 2026 β catch you in the next manpage ππ₯
π¦ 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