STRUCT CCP_ECC_POINT_MATH(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so, struct ccp_ecc_point_math β€” bestie, this is literally the CCP ECC point math parameters struct, and it's kind of a big deal πŸŽ€


✨ SYNOPSIS ✨

struct ccp_ecc_point_math {
    struct ccp_ecc_point point_1;
    struct ccp_ecc_point point_2;
    struct scatterlist *domain_a;
    unsigned int domain_a_len;
    struct scatterlist *scalar;
    unsigned int scalar_len;
    struct ccp_ecc_point result;
 };

no cap, that's the whole shape of it β€” just vibes and fields πŸ¦‹


🌸 MEMBERS 🌸

like, here's the breakdown of every single field, and yes you need all of them:

  • point_1 β€” the first point of the ECC point math operation. it's giving opening act energy ✨
  • point_2 β€” the second point of the ECC point math operation (only used for CCP_ECC_FUNCTION_PADD_384BIT). she only shows up for that one function, iykyk πŸ’…
  • domain_a β€” the a parameter of the ECC curve. the curve's main character parameter 🫢
  • domain_a_len β€” the length of the a parameter. gotta know how long it is, fr fr πŸ“
  • scalar β€” the scalar parameter for the point match operation (only used for CCP_ECC_FUNCTION_PMUL_384BIT). again: only that one function, don't come for me 😭
  • scalar_len β€” the length of the scalar parameter (only used for CCP_ECC_FUNCTION_PMUL_384BIT). same situation, same 384-bit-only situation 🌈
  • result β€” the point resulting from the point math operation. the finale, the payoff, the icon πŸ‘‘
reminder bestie: point_2, scalar and scalar_len are only used for their specific CCP_ECC_FUNCTION_PADD_384BIT / CCP_ECC_FUNCTION_PMUL_384BIT cases β€” don't expect them to carry the whole operation πŸ’€

πŸ’œ SEE ALSO πŸ’œ

  • Kernel file ./include/linux/ccp.h
  • 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_engine(9)
  • struct ccp_cmd(9)

like, read the whole friend group, they all connect πŸ”₯


aaaand that's the page! 🧚 from ./include/linux, dated October 2026, and it's literally titled struct ccp_ecc_point_math(9) β€” slay, go forth and do your ECC point math, bestie πŸ’–

πŸ“¦ where this page comes from