Bouncy Castle Cryptography Library 1.87

org.bouncycastle.crypto.params
Class MLKEMParameters

java.lang.Object
  extended byorg.bouncycastle.crypto.params.MLKEMParameters
All Implemented Interfaces:
CipherParameters, KEMParameters, PQCParameters

public class MLKEMParameters
extends java.lang.Object
implements KEMParameters, PQCParameters


Field Summary
static MLKEMParameters ml_kem_1024
           
static MLKEMParameters ml_kem_512
           
static MLKEMParameters ml_kem_768
           
 
Method Summary
 int getClassicalSecurityStrength()
          Return the classical security strength of this parameter set: 128 bits for ML-KEM-512, 192 for ML-KEM-768 and 256 for ML-KEM-1024 (NIST IR 8547, Table 5).
 int getEncapsulationLength()
           
 int getK()
           
 java.lang.String getName()
           
 int getSecurityCategory()
          Return the NIST security category of this parameter set: 1 for ML-KEM-512, 3 for ML-KEM-768 and 5 for ML-KEM-1024 (NIST IR 8547, Table 5).
 int getSessionKeySize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ml_kem_512

public static final MLKEMParameters ml_kem_512

ml_kem_768

public static final MLKEMParameters ml_kem_768

ml_kem_1024

public static final MLKEMParameters ml_kem_1024
Method Detail

getK

public int getK()

getEncapsulationLength

public int getEncapsulationLength()

getName

public java.lang.String getName()

getSecurityCategory

public int getSecurityCategory()
Return the NIST security category of this parameter set: 1 for ML-KEM-512, 3 for ML-KEM-768 and 5 for ML-KEM-1024 (NIST IR 8547, Table 5).

Specified by:
getSecurityCategory in interface PQCParameters
Returns:
the security category, as given in NIST IR 8547 Tables 3 and 5.

getClassicalSecurityStrength

public int getClassicalSecurityStrength()
Return the classical security strength of this parameter set: 128 bits for ML-KEM-512, 192 for ML-KEM-768 and 256 for ML-KEM-1024 (NIST IR 8547, Table 5).

Specified by:
getClassicalSecurityStrength in interface PQCParameters
Returns:
the classical security strength in bits.

getSessionKeySize

public int getSessionKeySize()

Bouncy Castle Cryptography Library 1.87