bign_params(3)
✨ NAME ✨
bign_params — bestie, this is the long-term parameters for bign. That's it, that's the whole job description 💅 (original vibe: Долговременные параметры bign — "long-term parameters of bign"). It's a little struct of constants that everything else in the library is gonna lean on, and you're about to meet every single one of its fields, no cap. 🫶
This one lives in the Library Functions Manual, so it's a C library situation, not a command you type into your shell — just so we're clear before anybody starts typing bign_params into a terminal and gets a very confusing error 💀
🎀 SYNOPSIS 🎀
#include <bign.h>
That's the whole incantation. Include the header, and the struct is yours. ✨
Открытые атрибуты (the public attributes) 🌸
These are the raw fields, laid out exactly how the header declares them:
size_t loctet p [64]octet a [64]octet b [64]octet q [64]octet yG [64]octet seed [8]
Okay so lowkey notice that seed is the tiny one — [8] — and everything else is out here living its [64] main character era 👑 Don't mix them up, fr fr.
🦋 Данные класса (class member data) 🦋
Now the same crew again, fully introduced this time, alphabetical order, one by one, so nobody gets left out of the group chat:
octet bign_params::a[64]— the coefficienta. Just vibing as one of the curve coefficients. 💖octet bign_params::b[64]— the coefficientb. Yes, they come as a matching set witha. Iconic duo behaviour. 🎀size_t bign_params::l— the security level, and it's one of exactly three values:128,192, or256. Pick your fighter. ✨octet bign_params::p[64]— the modulusp. Big number energy, obviously. 🔥octet bign_params::q[64]— the orderq. Yes bestie,pandqare different things, do not swap them, I'm begging 🙈octet bign_params::seed[8]— theseedparameter. Smol but mighty. 🍓octet bign_params::yG[64]— the y-coordinate of the pointG. She's the y one, the x one is elsewhere, we don't discuss it here. 🌈
Heads up: these are all the fields, exactly as listed, with their exact types and sizes. Don't go adding your own fields and expecting the library to be normal about it. 💀
💜 Автор (author) 💜
Automatically generated by Doxygen for the Bee2 Library, straight out of the source text. So nobody hand-wrote this — the machine did it, and honestly? She ate. 💅
Bee2 Library · Sun 25 Jan 2026 00:00:00 · bign_params(3) — mwah, go forth and parameterise responsibly, bestie 🧚💖
📦 where this page comes from
- fedora 44: bee2-devel 2.2.0-1.fc44 · GPL-3.0-only and GPL-3.0-or-later
- fedora 44: bee2-devel 2.2.0-1.fc44 · GPL-3.0-only and GPL-3.0-or-later
- 💖 girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms