pub struct MlDsa44;Expand description
ML-DSA-44 parameter set (NIST security level 2).
Provides approximately 128 bits of classical security. Matrix dimensions are k=4, l=4 with eta=2.
Trait Implementations§
Source§impl Params for MlDsa44
impl Params for MlDsa44
Source§const BETA: i32 = 78
const BETA: i32 = 78
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 = 80
const OMEGA: usize = 80
Maximum number of non-zero hint entries allowed across all k hint polynomials.
Source§const LAMBDA: usize = 128
const LAMBDA: usize = 128
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 = 17
const BITLEN_GAMMA1_MINUS1: usize = 17
Helper constant: bit-length of gamma1 - 1, used for encoding z in signatures.
Auto Trait Implementations§
impl Freeze for MlDsa44
impl RefUnwindSafe for MlDsa44
impl Send for MlDsa44
impl Sync for MlDsa44
impl Unpin for MlDsa44
impl UnsafeUnpin for MlDsa44
impl UnwindSafe for MlDsa44
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