pub enum PqScheme {
MlDsa44,
MlDsa65,
MlDsa87,
}Expand description
NIST post-quantum cryptographic scheme.
Each variant fully specifies the NTT parameters (N, q) for a given standard, eliminating the risk of misconfiguration.
Variants§
MlDsa44
ML-DSA-44 — NIST Level 2 (128-bit classical security)
(k,l) = (4,4), N=256, q=8380417.
MlDsa65
ML-DSA-65 — NIST Level 3 (192-bit classical security)
(k,l) = (6,5), N=256, q=8380417.
MlDsa87
ML-DSA-87 — NIST Level 5 (256-bit classical security)
(k,l) = (8,7), N=256, q=8380417.
Implementations§
Trait Implementations§
impl Copy for PqScheme
impl Eq for PqScheme
impl StructuralPartialEq for PqScheme
Auto Trait Implementations§
impl Freeze for PqScheme
impl RefUnwindSafe for PqScheme
impl Send for PqScheme
impl Sync for PqScheme
impl Unpin for PqScheme
impl UnsafeUnpin for PqScheme
impl UnwindSafe for PqScheme
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