Class SmaugTParameters

java.lang.Object
org.bouncycastle.pqc.crypto.smaugt.SmaugTParameters
All Implemented Interfaces:
CipherParameters, KEMParameters

public class SmaugTParameters extends 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 Details

  • Method Details

    • getName

      public 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.