Class FrodoKEMParameters
java.lang.Object
org.bouncycastle.crypto.params.FrodoKEMParameters
- All Implemented Interfaces:
CipherParameters, 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
FieldsModifier and TypeFieldDescriptionstatic final FrodoKEMParametersstatic final FrodoKEMParametersstatic final FrodoKEMParametersstatic final FrodoKEMParametersstatic final FrodoKEMParametersstatic final FrodoKEMParametersstatic final FrodoKEMParametersstatic final FrodoKEMParameters -
Method Summary
-
Field Details
-
frodokem976shake
-
frodokem1344shake
-
efrodokem976shake
-
efrodokem1344shake
-
frodokem976aes
-
frodokem1344aes
-
efrodokem976aes
-
efrodokem1344aes
-
-
Method Details
-
getName
-
getSessionKeySize
public int getSessionKeySize() -
getEncapsulationLength
public int getEncapsulationLength() -
getN
public int getN() -
getD
public int getD() -
getB
public int getB() -
isSalted
public boolean isSalted() -
isAes
public boolean isAes()
-