Bouncy Castle Cryptography Library 1.86

org.bouncycastle.pqc.crypto.smaugt
Class SmaugTParameters

java.lang.Object
  extended byorg.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 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
static SmaugTParameters smaugt_mode1
           
static SmaugTParameters smaugt_mode3
           
static SmaugTParameters smaugt_mode5
           
static SmaugTParameters smaugt_modet
           
 
Method Summary
 int getEncapsulationLength()
          Return the size in bytes of an encapsulation produced for this parameter set.
 java.lang.String getName()
           
 int getSessionKeySize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.


Bouncy Castle Cryptography Library 1.86