pub enum PqKemLevel {
Kyber512,
Kyber768,
}Expand description
PQ KEM security level
Variants§
Kyber512
Kyber512 — NIST Level 1 (~21KB RAM), for Constrained
Kyber768
Kyber768 — NIST Level 3 (~29KB RAM), for Standard/Performance
Trait Implementations§
Source§impl Clone for PqKemLevel
impl Clone for PqKemLevel
Source§fn clone(&self) -> PqKemLevel
fn clone(&self) -> PqKemLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PqKemLevel
Source§impl Debug for PqKemLevel
impl Debug for PqKemLevel
impl Eq for PqKemLevel
Source§impl PartialEq for PqKemLevel
impl PartialEq for PqKemLevel
Source§fn eq(&self, other: &PqKemLevel) -> bool
fn eq(&self, other: &PqKemLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PqKemLevel
Auto Trait Implementations§
impl Freeze for PqKemLevel
impl RefUnwindSafe for PqKemLevel
impl Send for PqKemLevel
impl Sync for PqKemLevel
impl Unpin for PqKemLevel
impl UnsafeUnpin for PqKemLevel
impl UnwindSafe for PqKemLevel
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