pub trait Params {
Show 14 associated constants and 0 method
const K: usize;
const L: usize;
const ETA: usize;
const TAU: usize;
const BETA: i32;
const GAMMA1: i32;
const GAMMA2: i32;
const OMEGA: usize;
const LAMBDA: usize;
const BITLEN_2ETA: usize;
const BITLEN_GAMMA1_MINUS1: usize;
const PK_LEN: usize = _;
const SK_LEN: usize = _;
const SIG_LEN: usize = _;
}Expand description
Required Associated Constants§
Sourceconst BETA: i32
const BETA: i32
Signing bound beta = tau * eta. Candidate signatures with infinity norm >= gamma1 - beta are rejected.
Sourceconst GAMMA1: i32
const GAMMA1: i32
Masking range: coefficients of the masking vector y are sampled from [-(gamma1-1), gamma1].
Sourceconst OMEGA: usize
const OMEGA: usize
Maximum number of non-zero hint entries allowed across all k hint polynomials.
Sourceconst LAMBDA: usize
const LAMBDA: usize
Collision strength in bits; determines the length of the commitment hash c_tilde (lambda/4 bytes).
Sourceconst BITLEN_2ETA: usize
const BITLEN_2ETA: usize
Helper constant: bit-length of 2*eta, used for encoding secret polynomials.
Sourceconst BITLEN_GAMMA1_MINUS1: usize
const BITLEN_GAMMA1_MINUS1: usize
Helper constant: bit-length of gamma1 - 1, used for encoding z in signatures.
Provided Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.