pub enum MlKemLevel {
L1,
L3,
L5,
}Expand description
ML-KEM security levels (FIPS 203).
Variants§
L1
ML-KEM-512 (Category 1, ~128-bit security).
L3
ML-KEM-768 (Category 3, ~192-bit security).
L5
ML-KEM-1024 (Category 5, ~256-bit security).
Trait Implementations§
Source§impl Clone for MlKemLevel
impl Clone for MlKemLevel
Source§fn clone(&self) -> MlKemLevel
fn clone(&self) -> MlKemLevel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MlKemLevel
impl Debug for MlKemLevel
Source§impl PartialEq for MlKemLevel
impl PartialEq for MlKemLevel
impl Copy for MlKemLevel
impl Eq for MlKemLevel
impl StructuralPartialEq for MlKemLevel
Auto Trait Implementations§
impl Freeze for MlKemLevel
impl RefUnwindSafe for MlKemLevel
impl Send for MlKemLevel
impl Sync for MlKemLevel
impl Unpin for MlKemLevel
impl UnsafeUnpin for MlKemLevel
impl UnwindSafe for MlKemLevel
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