Skip to main content

MLKEM768

Type Alias MLKEM768 

Source
pub type MLKEM768 = MLKEM<MLKEM768_PK_LEN, MLKEM768_SK_LEN, MLKEM768_CT_LEN, MLKEM_SS_LEN, MLKEM768PublicKey, MLKEM768PrivateKey, MLKEM768_k, MLKEM768_ETA1, MLKEM768_DU, MLKEM768_DV, MLKEM768_LAMBDA>;
Expand description

The ML-KEM-768 algorithm.

Aliased Type§

pub struct MLKEM768 { /* private fields */ }

Trait Implementations§

Source§

impl Algorithm for MLKEM768

Source§

const ALG_NAME: &'static str = ML_KEM_768_NAME

String name for the algorithm, used consistently across the library.
Source§

const MAX_SECURITY_STRENGTH: SecurityStrength = SecurityStrength::_192bit

Maximum security strength supported by the algorithm. In other words, this algorithm can produce outputs up to this security strength, but may produce outputs with lower security strength, for example, if asked to truncate.
Source§

impl AlgorithmOID for MLKEM768

Assigned by NIST in the Computer Security Objects Register: id-alg-ml-kem-768 { kems 2 }

Source§

const OID: &'static [u32]

The OID in component form – each u32 is one OID component.
Source§

const OID_DER: &'static [u8]

The OID in its DER-encoded form.