STRUCT ECC_CURVE(9)
πΈ NAME πΈ
okay so bestie, welcome to the struct ecc_curve(9) page of the Kernel API Manual β literally the definition of an elliptic curve, no cap π
β¨
β¨ SYNOPSIS β¨
struct ecc_curve {
char *name;
u32 nbits;
struct ecc_point g;
u64 *p;
u64 *n;
u64 *a;
u64 *b;
};
π Members π
like, here's the whole cast of characters, and every single one of them matters π«Ά
nameβ the short name of the curve. just a lil nickname, icon behavior πnbitsβ the number of bits of a curve. yes, the actual bit count π₯gβ the generator point of the curve. main character energy fr fr πpβ the prime number. and here's the tea β: if Barrett's reduction is used for this curve, a pre-calculated value'mu'is appended to thepafterndigits. the use of Barrett's reduction is heuristically determined invli_mmod_fastβ that's the vibe check, iykyk πnβ the order of the curve group. periodt πaβ curve parametera. iconic, essential, no notes πΈbβ curve parameterb. the other half of the duo, we stan π
π SEE ALSO π
go peek at the kernel file ./include/crypto/ecc_curve.h plus struct ecc_point(9), ecc_get_curve(9), and ecc_get_curve25519(9) β they're all in the group chat bestie π¦
and that's the whole page!! mwah π sourced straight from ./include/crypto, dated October 2026 β catch you in the next manpage, bestie π§β
π¦ 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