Class NTRULPRimeParameters

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

public class NTRULPRimeParameters extends Object implements KEMParameters
NTRU LPRime Parameter Specs
  • Field Details

  • Method Details

    • getName

      public String getName()
    • getP

      public int getP()
    • getQ

      public int getQ()
    • getW

      public int getW()
    • getDelta

      public int getDelta()
    • getTau0

      public int getTau0()
    • getTau1

      public int getTau1()
    • getTau2

      public int getTau2()
    • getTau3

      public int getTau3()
    • getPublicKeyBytes

      public int getPublicKeyBytes()
    • getPrivateKeyBytes

      public int getPrivateKeyBytes()
    • 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. Kept here so that a caller holding only a public key - the encapsulating side - derives it from the same expression NTRULPRimeKEMExtractor uses, rather than repeating it.