Struct ml_kem::MlKem1024Params
source · pub struct MlKem1024Params;
Expand description
MlKem1024
is the parameter set for security category 5, corresponding to key search on a block
cipher with a 256-bit key.
Trait Implementations§
source§impl Clone for MlKem1024Params
impl Clone for MlKem1024Params
source§fn clone(&self) -> MlKem1024Params
fn clone(&self) -> MlKem1024Params
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 MlKem1024Params
impl Debug for MlKem1024Params
source§impl Default for MlKem1024Params
impl Default for MlKem1024Params
source§fn default() -> MlKem1024Params
fn default() -> MlKem1024Params
Returns the “default value” for a type. Read more
source§impl ParameterSet for MlKem1024Params
impl ParameterSet for MlKem1024Params
§type Eta1 = UInt<UInt<UTerm, B1>, B0>
type Eta1 = UInt<UInt<UTerm, B1>, B0>
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 MlKem1024Params
impl PartialEq for MlKem1024Params
source§fn eq(&self, other: &MlKem1024Params) -> bool
fn eq(&self, other: &MlKem1024Params) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MlKem1024Params
Auto Trait Implementations§
impl Freeze for MlKem1024Params
impl RefUnwindSafe for MlKem1024Params
impl Send for MlKem1024Params
impl Sync for MlKem1024Params
impl Unpin for MlKem1024Params
impl UnwindSafe for MlKem1024Params
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