dstu_params(3)

📦
version 2.2.0 · 2 versions
, in fedora 44

💖 NAME 💖

dstu_params — долговременные параметры dstu, aka dstu's long-term parameters, bestie. That's the whole vibe. This page lives in the Library Functions Manual and it's section dstu_params(3), iykyk. 🦋


✨ SYNOPSIS ✨

Okay so you get everything here by pulling in literally one header, no cap:

#include <dstu.h>

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

(public attributes, for my besties not fluent in Russian 💖)

These are the fields just sitting out there in the open, exactly like this:

  • u16 p [4]
  • octet A
  • octet B [DSTU_SIZE]
  • octet n [DSTU_SIZE]
  • u32 c
  • octet P [2 *DSTU_SIZE]

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

(class data — the actual members and what each one is giving)

  • octet dstu_params::A — the coefficient A, and bestie it is literally 0 or 1, no in-between, not me being dramatic, that's the spec 💀
  • octet dstu_params::B[DSTU_SIZE] — the coefficient B 🌸
  • u32 dstu_params::c — the cofactor ✨
  • octet dstu_params::n[DSTU_SIZE] — the order of the group of points 👑
  • octet dstu_params::P[2 *DSTU_SIZE] — the base point 🎀
  • u16 dstu_params::p[4] — the description of the base field 🌈
Heads up: the public attributes list above is in the order p, A, B, n, c, P, and the class data list is in the order A, B, c, n, P, p. Both orders are exactly what the page says — don't come for me, I don't make the rules. 🙈

🫶 Автор 🫶

Not a human author, bestie — this one was automatically created by Doxygen for the Библиотека Bee2 (the Bee2 Library) straight out of the source text. Iconic behaviour, fr fr. 💅


And that's the whole page, mwah 🫶 huge shoutout to Библиотека Bee2 for shipping it, dated Вс 25 Янв 2026 00:00:00, filed under dstu_params(3). Go read it, slay, periodt. 💖✨🎀

📦 where this page comes from