Package org.bouncycastle.crypto.params
Class FrodoKEMParameters
- java.lang.Object
-
- org.bouncycastle.crypto.params.FrodoKEMParameters
-
- All Implemented Interfaces:
CipherParameters,KEMParameters
public class FrodoKEMParameters extends java.lang.Object implements KEMParameters
Parameter sets for FrodoKEM as standardised in ISO/IEC 18033-2:2006/Amd 2:2026, Clause 14.For each of the two standardised security levels (976 and 1344) there are, in both a SHAKE128 and an AES-128 matrix-generation variant:
- the salted "FrodoKEM" variant (
frodokem976shake,frodokem1344shake,frodokem976aes,frodokem1344aes), which applies the Salted Fujisaki-Okamoto transform for tight multi-ciphertext security; and - the ephemeral "eFrodoKEM" variant (
efrodokem976shake,efrodokem1344shake,efrodokem976aes,efrodokem1344aes), which omits the salt and must only be used where fewer than 2^8 ciphertexts are produced per public key.
-
-
Field Summary
Fields Modifier and Type Field Description static FrodoKEMParametersefrodokem1344aesstatic FrodoKEMParametersefrodokem1344shakestatic FrodoKEMParametersefrodokem976aesstatic FrodoKEMParametersefrodokem976shakestatic FrodoKEMParametersfrodokem1344aesstatic FrodoKEMParametersfrodokem1344shakestatic FrodoKEMParametersfrodokem976aesstatic FrodoKEMParametersfrodokem976shake
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetB()intgetD()intgetEncapsulationLength()intgetN()java.lang.StringgetName()intgetSessionKeySize()booleanisAes()booleanisSalted()
-
-
-
Field Detail
-
frodokem976shake
public static final FrodoKEMParameters frodokem976shake
-
frodokem1344shake
public static final FrodoKEMParameters frodokem1344shake
-
efrodokem976shake
public static final FrodoKEMParameters efrodokem976shake
-
efrodokem1344shake
public static final FrodoKEMParameters efrodokem1344shake
-
frodokem976aes
public static final FrodoKEMParameters frodokem976aes
-
frodokem1344aes
public static final FrodoKEMParameters frodokem1344aes
-
efrodokem976aes
public static final FrodoKEMParameters efrodokem976aes
-
efrodokem1344aes
public static final FrodoKEMParameters efrodokem1344aes
-
-