set_key_size_des(9)
π 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 π
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_config0(9)set_cipher_config1(9)set_hw_crypto_key(9)set_bytes_swap(9)set_cmac_size0_mode(9)set_key_size(9)set_key_size_aes(9)set_setup_mode(9)set_cipher_do(9)
π 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
- 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