Class HAETAEParameters


  • public class HAETAEParameters
    extends java.lang.Object
    Parameters for the HAETAE signature scheme (Modes 2, 3, and 5).

    This class mirrors the constants defined in params.h. Instances are immutable and can be shared freely.

    • Method Detail

      • getName

        public java.lang.String getName()
      • getK

        public int getK()
      • getL

        public int getL()
      • getM

        public int getM()
      • getTau

        public int getTau()
      • getB0

        public double getB0()
      • getB1

        public double getB1()
      • getB2

        public double getB2()
      • getGamma

        public double getGamma()
      • getLn

        public int getLn()
      • getLnHalf

        public int getLnHalf()
      • getLnBits

        public int getLnBits()
      • getSqnm

        public double getSqnm()
      • getCryptoBytes

        public int getCryptoBytes()
        Size of the signature in bytes
      • getBaseEncHbZ1

        public int getBaseEncHbZ1()
      • getBaseEncH

        public int getBaseEncH()
      • getAlphaHint

        public int getAlphaHint()
      • getLogAlphaHint

        public int getLogAlphaHint()
      • getPolyqPackedBytes

        public int getPolyqPackedBytes()
        Packed size of a polynomial with coefficients modulo Q
      • getPoly2etaPackedBytes

        public int getPoly2etaPackedBytes()
        Packed size of a polynomial with coefficients in [‑2η, 2η]
      • getHalfAlphaHint

        public int getHalfAlphaHint()
      • getB0Sq

        public long getB0Sq()
      • getB1Sq

        public long getB1Sq()
      • getB2Sq

        public long getB2Sq()
      • getPolyveckHighbitsPackedBytes

        public int getPolyveckHighbitsPackedBytes()
      • getPublicKeyBytes

        public int getPublicKeyBytes()
      • getSecretKeyBytes

        public int getSecretKeyBytes()
      • getStartCube

        public long[] getStartCube()
      • getStartTimesThreehalves

        public long[] getStartTimesThreehalves()
        Returns a copy of the start_times_threehalves constant.
      • getM_h

        public int getM_h()
      • getOffset_h

        public int getOffset_h()
      • getM_hb_z1

        public int getM_hb_z1()
      • getOffset_hb_z1

        public int getOffset_hb_z1()
      • getEsyms_h

        public org.bouncycastle.pqc.crypto.haetae.RansEncSymbol[] getEsyms_h()
      • getDsyms_h

        public org.bouncycastle.pqc.crypto.haetae.RansDecSymbol[] getDsyms_h()
      • getEsyms_hb_z1

        public org.bouncycastle.pqc.crypto.haetae.RansEncSymbol[] getEsyms_hb_z1()
      • getDsyms_hb_z1

        public org.bouncycastle.pqc.crypto.haetae.RansDecSymbol[] getDsyms_hb_z1()
      • getSymbolH

        public short[] getSymbolH()
      • getSymbolH_z1

        public short[] getSymbolH_z1()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object