set_cpp_crypto_key(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… set_cpp_crypto_key(9) β€” like, the kernel API manual page, bestie πŸŽ€

okay so this is a page from the Kernel API Manual, and honestly? it's a tiny one but it's important, so let's get into it ✨


✨ NAME ✨

set_cpp_crypto_key β€” this one sets up the special CPP descriptor. that's it. that's the whole vibe. πŸ¦‹


🌸 SYNOPSIS 🌸

void set_cpp_crypto_key (struct cc_hw_desc *pdesc , u8 slot );

like, look at her. returns nothing (void), takes two things. she's effortless πŸ’…


πŸ’– ARGUMENTS πŸ’–

  • pdesc β€” a pointer to the HW descriptor struct. it's giving "here's the thing you're gonna poke at" πŸ‘‘
  • slot β€” the slot number. a u8. yes bestie, small and mighty πŸ“

🌈 SEE ALSO 🌈

okay this is the part where she name-drops literally everyone in her contacts list, and ngl it's a long list, so buckle up 🧚

she lives in the kernel file ./drivers/crypto/ccree/cc_hw_queue_defs.h, and here's the whole squad:

hw_desc_init(9), set_queue_last_ind_bit(9), set_din_type(9), set_din_no_dma(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_key_size_des(9), set_setup_mode(9), set_cipher_do(9)

no cap, that's every single one of them and they all made the list πŸ’€


fr fr though β€” keep all of these references intact, they're the actual API family and your future self will thank you when you're grepping at 2am 😭

and that's the page! 🫢 cute little sign-off time: this one comes from ./drivers/crypto/ccree, dated October 2026, and it's filed under set_cpp_crypto_key(9). slay, go set up that special CPP descriptor, icon πŸ’œβœ¨

πŸ“¦ where this page comes from