g12s_params(3)

📦
version 2.2.0 · 2 versions
, in fedora 44

🌸 NAME 🌸

g12s_params — okay so this is the long-term parameters of g12s, bestie. That's it, that's the whole vibe. Long-term = they stick around, they're the main character, they don't get regenerated every time you blink. 💅


✨ SYNOPSIS ✨

#include <g12s.h>

💖 Открытые атрибуты (public attributes) 💖

Like, these are just out there for everyone to see, no privacy settings:

  • u32 l
  • octet p [G12S_FIELD_SIZE]
  • octet a [G12S_FIELD_SIZE]
  • octet b [G12S_FIELD_SIZE]
  • octet q [G12S_ORDER_SIZE]
  • u32 n
  • octet xP [G12S_FIELD_SIZE]
  • octet yP [G12S_FIELD_SIZE]

🎀 Данные класса (class data) 🎀

The member-by-member breakdown, aka the receipts. Every single one, no skips, periodt:

  • octet g12s_params::a[G12S_FIELD_SIZE] — коэффициент a. The coefficient a, the lil curve constant doing its thing. 🍓
  • octet g12s_params::b[G12S_FIELD_SIZE] — коэффициент b. Coefficient b, the other curve constant, a's bestie fr fr.
  • u32 g12s_params::l — уровень стойкости (256 или 512). The security level, and it's literally 256 or 512, those are the only two options, don't get creative. 👑
  • u32 g12s_params::n — кофактор. The cofactor. Not the main character, but it matters. 🌸
  • octet g12s_params::p[G12S_FIELD_SIZE] — модуль p. The modulus p, iconic.
  • octet g12s_params::q[G12S_ORDER_SIZE] — порядок группы точек. The order of the point group. Note the size tag is G12S_ORDER_SIZE here, not the field one — she's different, she's special. 💜
  • octet g12s_params::xP[G12S_FIELD_SIZE] — x-координата точки P. The x-coordinate of point P.
  • octet g12s_params::yP[G12S_FIELD_SIZE] — y-координата точки P. The y-coordinate of point P. Together with xP that's your whole point P, slay. 🦋
ngl, p, a, b, xP and yP all ride at G12S_FIELD_SIZE, while q rides at G12S_ORDER_SIZE. Don't mix them up, iykyk. 😭

🦋 Автор (Author) 🦋

Automatically generated by Doxygen for the Bee2 Library from the source text. Not me writing it by hand, the machines did that. 🤖✨


Bee2 Library — this whole page is from the Библиотека Bee2 (Bee2 Library), dated Вс 25 Янв 2026 00:00:00 (Sun 25 Jan 2026 00:00:00). Byeee, go forth and parameterize responsibly 🫶🎀

📦 where this page comes from