dstu-core 0.3.3

Rust implementations of Ukrainian DSTU cryptographic standards (Kalyna, Kupyna, Strumok)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! DSTU 9041:2020 hybrid (ECIES-style) encryption over a twisted Edwards curve over `F_p`.
//!
//! Scope: `l(p)=256` (λ=127, recommended curve E256/1) only - see `docs/pseudocode/dstu9041.md`
//! and `docs/DECISIONS.md` D-163/D-165/D-166 for the primary-source citations and the curve
//! parameter erratum this module's constants were corrected against. `l(p)=384/512/768` need a
//! new `hazmat::kalyna_kw_p` sibling primitive and/or unverified worked examples - out of scope
//! for this pass (T-177), matching this project's own "ship the recommended curve first" (D-47)
//! precedent already applied to `hazmat::dstu4145`.

pub mod curve256;
pub mod curve512;
pub mod encryption;
pub mod encryption512;
pub mod fp256;
pub mod fp512;
pub mod message;
pub mod message512;