Class SmaugTParameters
- java.lang.Object
-
- org.bouncycastle.pqc.crypto.smaugt.SmaugTParameters
-
- All Implemented Interfaces:
CipherParameters,KEMParameters
public class SmaugTParameters extends java.lang.Object implements KEMParameters
Parameter set for the SMAUG-T post-quantum key encapsulation mechanism (Module-Lizard / MLWE+MLWR, SMAUG-T v1.2.0 reference specification). The four submission variants are exposed as thesmaugt_mode1,smaugt_mode3andsmaugt_mode5constants (NIST security categories 1/3/5) andsmaugt_modet(TiMER, the bandwidth-optimised variant using the D2 encoding).
-
-
Field Summary
Fields Modifier and Type Field Description static SmaugTParameterssmaugt_mode1static SmaugTParameterssmaugt_mode3static SmaugTParameterssmaugt_mode5static SmaugTParameterssmaugt_modet
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetEncapsulationLength()Return the size in bytes of an encapsulation produced for this parameter set.java.lang.StringgetName()intgetSessionKeySize()
-
-
-
Field Detail
-
smaugt_mode1
public static final SmaugTParameters smaugt_mode1
-
smaugt_mode3
public static final SmaugTParameters smaugt_mode3
-
smaugt_mode5
public static final SmaugTParameters smaugt_mode5
-
smaugt_modet
public static final SmaugTParameters smaugt_modet
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getSessionKeySize
public int getSessionKeySize()
-
getEncapsulationLength
public int getEncapsulationLength()
Return the size in bytes of an encapsulation produced for this parameter set. The engine that knows it is package private, so this is the only way the encapsulating side - which holds a public key and no extractor - can obtain it.
-
-