ec_o(3)

📦
version 2.2.0 · 2 versions
, in fedora 44

🌸 ec_o 🌸

hi bestie 🫶 you've landed on ec_o(3), straight out of the Library Functions Manual. this is the page for the elliptic curve object itself, and honestly? it's giving "every pointer exactly where it should be" energy ✨ lowkey obsessed.


💖 NAME 💖

ec_o — описание эллиптической кривой

like, it's the description of an elliptic curve. that's the whole job. she said what she said 💅


✨ SYNOPSIS ✨

#include <ec.h>

🎀 Открытые атрибуты 🎀

here's the full cast, no one gets left out:

  • obj_hdr_t hdr
  • const qr_o * f
  • word * A
  • word * B
  • word * base
  • word * order
  • void * params
  • size_t d
  • word cofactor
  • ec_froma_i froma
  • ec_toa_i toa
  • ec_neg_i neg
  • ec_add_i add
  • ec_adda_i adda
  • ec_sub_i sub
  • ec_suba_i suba
  • ec_dbl_i dbl
  • ec_dbla_i dbla
  • ec_tpl_i tpl
  • size_t deep
  • mem_align_t descr []

🦋 Подробное описание 🦋

okay so what is this thing? it describes an elliptic curve — like, the whole curve — plus the rules for how its elements get represented, the group of points, and the functions that actually implement the operations inside that group. it's the whole package, main character energy fr fr 🌈

Прим. bestie, listen: the pointer table for the curve description as an object includes the fields f, A, B, base, order, params. and the field f is a pointer to an object. don't forget it 🫶

👑 Данные класса 👑

🍓 the members, one by one

⭐ word* ec_o::A

коэффициент A — the coefficient A.

⭐ ec_add_i ec_o::add

функция сложения — the addition function.

⭐ ec_adda_i ec_o::adda

функция сложения с аффинной точкой — the addition function that takes an affine point.

⭐ word* ec_o::B

коэффициент B — the coefficient B.

⭐ word* ec_o::base

базовая точка — the base point.

⭐ word ec_o::cofactor

кофактор группы точек — the cofactor of the point group.

⭐ size_t ec_o::d

размерность — the dimension.

⭐ ec_dbl_i ec_o::dbl

функция удвоения — the doubling function.

⭐ ec_dbla_i ec_o::dbla

функция удвоения аффинной точки — the function that doubles an affine point.

⭐ size_t ec_o::deep

максимальная глубина стека функций — the maximum depth of the function stack.

⭐ mem_align_t ec_o::descr[]

память для размещения данных — the memory used to place the data.

⭐ const qr_o* ec_o::f

базовое поле — the base field.

⭐ ec_froma_i ec_o::froma

функция импорта из аффинной точки — the import-from-affine-point function.

⭐ obj_hdr_t ec_o::hdr

заголовок — the header.

⭐ ec_neg_i ec_o::neg

функция обращения — the negation function.

⭐ word* ec_o::order

порядок группы точек — the order of the point group.

⭐ void* ec_o::params

дополнительные параметры — the extra parameters.

⭐ ec_sub_i ec_o::sub

функция вычитания — the subtraction function.

⭐ ec_suba_i ec_o::suba

функция вычитания аффинной точки — the function that subtracts an affine point.

⭐ ec_toa_i ec_o::toa

функция экспорта в аффинную точку — the export-to-affine-point function.

⭐ ec_tpl_i ec_o::tpl

функция утроения — the tripling function.


🧚 Автор 🧚

Автоматически создано Doxygen для Библиотека Bee2 из исходного текста. — yes, bestie, nobody hand-wrote this, Doxygen auto-generated it for the Bee2 Library straight from the source text. we love a robot doing the typing for us 💅✨


and that's the whole page!! 🎀 this was ec_o(3) from Библиотека Bee2, stamped Вс 25 Янв 2026 00:00:00 — go forth and curve responsibly, ily 💖🦋

📦 where this page comes from