STRUCT ECC_POINT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 bestie x.
  • ndigits β€” the length of those vlis, counted in u64 qwords πŸ”’ like that's the size tag, periodt.

πŸ”₯ SEE ALSO πŸ”₯

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