Class SNTRUPrimeParameters

java.lang.Object
org.bouncycastle.pqc.crypto.ntruprime.SNTRUPrimeParameters
All Implemented Interfaces:
CipherParameters, KEMParameters

public class SNTRUPrimeParameters extends Object implements KEMParameters
StreamLined NTRU Prime Parameter Specs
  • Field Details

  • Method Details

    • getName

      public String getName()
    • getP

      public int getP()
    • getQ

      public int getQ()
    • getW

      public int getW()
    • getPublicKeyBytes

      public int getPublicKeyBytes()
    • getPrivateKeyBytes

      public int getPrivateKeyBytes()
    • getRqPolynomialBytes

      public int getRqPolynomialBytes()
    • getRoundedPolynomialBytes

      public int getRoundedPolynomialBytes()
    • getSessionKeySize

      public int getSessionKeySize()
    • getEncapsulationLength

      public int getEncapsulationLength()
      Return the size in bytes of an encapsulation produced for this parameter set, so that the encapsulating side - which holds only a public key and no extractor - reads it from the same place SNTRUPrimeKEMExtractor does.