pub struct MlDsa87;Expand description
ML-DSA-87 parameter set (NIST security level 5).
Provides approximately 256 bits of classical security. Matrix dimensions are k=8, l=7 with eta=2.
Trait Implementations§
Source§impl Params for MlDsa87
impl Params for MlDsa87
Source§const BETA: i32 = 120
const BETA: i32 = 120
Signing bound beta = tau * eta. Candidate signatures with infinity norm >= gamma1 - beta are rejected.
Source§const GAMMA1: i32
const GAMMA1: i32
Masking range: coefficients of the masking vector y are sampled from [-(gamma1-1), gamma1].
Source§const OMEGA: usize = 75
const OMEGA: usize = 75
Maximum number of non-zero hint entries allowed across all k hint polynomials.
Source§const LAMBDA: usize = 256
const LAMBDA: usize = 256
Collision strength in bits; determines the length of the commitment hash c_tilde (lambda/4 bytes).
Source§const BITLEN_2ETA: usize = 3
const BITLEN_2ETA: usize = 3
Helper constant: bit-length of 2*eta, used for encoding secret polynomials.
Source§const BITLEN_GAMMA1_MINUS1: usize = 19
const BITLEN_GAMMA1_MINUS1: usize = 19
Helper constant: bit-length of gamma1 - 1, used for encoding z in signatures.
Auto Trait Implementations§
impl Freeze for MlDsa87
impl RefUnwindSafe for MlDsa87
impl Send for MlDsa87
impl Sync for MlDsa87
impl Unpin for MlDsa87
impl UnsafeUnpin for MlDsa87
impl UnwindSafe for MlDsa87
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more