set_xex_data_unit_size(9)
π set_xex_data_unit_size β Kernel API Manual energy β¨
Okay bestie, welcome to the Kernel API Manual β this one's a tiny little helper from the crypto corner of the kernel and honestly? She's short but she matters. π
β¨ NAME β¨
set_xex_data_unit_size β sets the data unit size for XEX mode, and it lives right there in data_out_addr[15:0]. That's it, that's the gig. π
πΈ SYNOPSIS πΈ
void set_xex_data_unit_size (struct cc_hw_desc *pdesc , u32 size );
No cap, that's the whole signature. Look at her. Iconic. π
π¦ ARGUMENTS π¦
pdescβ a pointer to the HW descriptor struct. Like, the actual descriptor you're poking at. π«Άsizeβ the data unit size for XEX mode. That's the number you're tucking in. β¨
π§ SEE ALSO π§
Bestie, the whole squad's here β these are all in the kernel file ./drivers/crypto/ccree/cc_hw_queue_defs.h, and they're all (9):
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_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_key_size_des(9)set_setup_mode(9)set_cipher_do(9)
Like, go read them, they're all slaying in their own little lanes. π
Lowkey a reminder that this page gives you exactly what the descriptor field wants β nothing more, nothing less. Don't go inventing extra behaviour, bestie, the manpage didn't say it. π
And that's a wrap! π This iconic lil' page comes to you courtesy of ./drivers/crypto/ccree, dated October 2026 β mwah, take care of her. ππ¦πΈ
π¦ 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