pub struct MlDsa65;Expand description
ML-DSA-65 parameter set (NIST security level 3).
Provides approximately 192 bits of classical security. Matrix dimensions are k=6, l=5 with eta=4.
Trait Implementations§
Source§impl Params for MlDsa65
impl Params for MlDsa65
Source§const BETA: i32 = 196
const BETA: i32 = 196
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 = 55
const OMEGA: usize = 55
Maximum number of non-zero hint entries allowed across all k hint polynomials.
Source§const LAMBDA: usize = 192
const LAMBDA: usize = 192
Collision strength in bits; determines the length of the commitment hash c_tilde (lambda/4 bytes).
Source§const BITLEN_2ETA: usize = 4
const BITLEN_2ETA: usize = 4
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 MlDsa65
impl RefUnwindSafe for MlDsa65
impl Send for MlDsa65
impl Sync for MlDsa65
impl Unpin for MlDsa65
impl UnsafeUnpin for MlDsa65
impl UnwindSafe for MlDsa65
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