Struct ml_kem::MlKem512Params
source · pub struct MlKem512Params;
Expand description
MlKem512
is the parameter set for security category 1, corresponding to key search on a block
cipher with a 128-bit key.
Trait Implementations§
source§impl Clone for MlKem512Params
impl Clone for MlKem512Params
source§fn clone(&self) -> MlKem512Params
fn clone(&self) -> MlKem512Params
Returns a copy 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 MlKem512Params
impl Debug for MlKem512Params
source§impl Default for MlKem512Params
impl Default for MlKem512Params
source§fn default() -> MlKem512Params
fn default() -> MlKem512Params
Returns the “default value” for a type. Read more
source§impl ParameterSet for MlKem512Params
impl ParameterSet for MlKem512Params
§type Eta1 = UInt<UInt<UTerm, B1>, B1>
type Eta1 = UInt<UInt<UTerm, B1>, B1>
The bit width of the centered binary distribution used when sampling random polynomials in
key generation and encryption.
§type Eta2 = UInt<UInt<UTerm, B1>, B0>
type Eta2 = UInt<UInt<UTerm, B1>, B0>
The bit width of the centered binary distribution used when sampling error vectors during
encryption.
source§impl PartialEq for MlKem512Params
impl PartialEq for MlKem512Params
source§fn eq(&self, other: &MlKem512Params) -> bool
fn eq(&self, other: &MlKem512Params) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MlKem512Params
Auto Trait Implementations§
impl Freeze for MlKem512Params
impl RefUnwindSafe for MlKem512Params
impl Send for MlKem512Params
impl Sync for MlKem512Params
impl Unpin for MlKem512Params
impl UnwindSafe for MlKem512Params
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