STRUCT CCP_ECC_ENGINE(9)
π struct ccp_ecc_engine(9) β the CCP ECC operation, bestie β¨
Okay so this is a page from the Kernel API Manual, and it's all about struct ccp_ecc_engine β literally the struct that holds your CCP ECC operation info. It's giving "small struct, big responsibilities" π
πΈ SYNOPSIS πΈ
Here's the whole vibe, verbatim:
struct ccp_ecc_engine {
enum ccp_ecc_function function;
struct scatterlist *mod;
u32 mod_len;
union {
struct ccp_ecc_modular_math mm;
struct ccp_ecc_point_math pm;
} u;
u16 ecc_result;
};
β¨ Members β¨
functionβ which ECC function you're gonna perform πmodβ the ECC modulus, iykykmod_lenβ length in bytes of the modulus, fr frecc_resultβ the result of the ECC operation π
π¦ Description π¦
These are the variables you literally have to have set when you call ccp_enqueue_cmd:
function,mod,mod_lenoperand,operand_len,operand_count,output,output_len,output_countecc_result
Like, no cap β all of those. Don't skip any π«Ά
Heads up bestie: theunionin there holds either astruct ccp_ecc_modular_math mmor astruct ccp_ecc_point_math pmβ it's one or the other, that's the whole point of a union π
π₯ SEE ALSO π₯
Kernel file ./include/linux/ccp.h plus the whole friend group:
ccp_present(9), ccp_version(9), ccp_enqueue_cmd(9), struct ccp_aes_engine(9), struct ccp_xts_aes_engine(9), struct ccp_sha_engine(9), struct ccp_des3_engine(9), struct ccp_rsa_engine(9), struct ccp_passthru_engine(9), struct ccp_passthru_nomap_engine(9), struct ccp_ecc_modular_math(9), struct ccp_ecc_point(9), struct ccp_ecc_point_math(9), struct ccp_cmd(9)
π That's the whole page, bestie β sourced from ./include/linux, dated October 2026, and yes the manual name is struct ccp_ecc_engine(9) in case you were wondering π go set your fields and slay π
π
π¦ 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