Class SmaugTParameters
java.lang.Object
org.bouncycastle.pqc.crypto.smaugt.SmaugTParameters
- All Implemented Interfaces:
CipherParameters, 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 the
smaugt_mode1,
smaugt_mode3 and smaugt_mode5 constants (NIST security
categories 1/3/5) and smaugt_modet (TiMER, the bandwidth-optimised
variant using the D2 encoding).-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SmaugTParametersstatic final SmaugTParametersstatic final SmaugTParametersstatic final SmaugTParameters -
Method Summary
Modifier and TypeMethodDescriptionintReturn the size in bytes of an encapsulation produced for this parameter set.getName()int
-
Field Details
-
smaugt_mode1
-
smaugt_mode3
-
smaugt_mode5
-
smaugt_modet
-
-
Method Details
-
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.
-