STRUCT ECC_POINT(9)
β¨ struct ecc_point(9) β¨
okay bestie, so this is from the Kernel API Manual and it's literally the cutest lil struct: it's just an elliptic curve point living in affine coordinates π like, no cap, that's the whole vibe.
π NAME π
struct ecc_point β an elliptic curve point, but make it affine coordinates π
she's giving pure math main character energy fr fr.
πΈ SYNOPSIS πΈ
struct ecc_point {
u64 *x;
u64 *y;
u8 ndigits;
};
π¦ Members π¦
xβ the X coordinate, but stored in vli form π«Ά (vli = the kernel's big-number vibe, iykyk).yβ the Y coordinate, same deal, also in vli form β¨ so it matches her bestiex.ndigitsβ the length of those vlis, counted inu64qwords π’ like that's the size tag, periodt.
π₯ SEE ALSO π₯
- the kernel file
./include/crypto/ecc_curve.hπ struct ecc_curve(9)ecc_get_curve(9)ecc_get_curve25519(9)
lowkey go read those next, they're the whole friend group π
okay that's it, that's the struct π stay iconic, drink water, and remember: affine coordinates ate and left no crumbs β¨
mwah π β brought to you by ./include/crypto, the Kernel API Manual, circa October 2026 π
π¦ 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