|
Bouncy Castle Cryptography Library 1.85 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.pqc.crypto.haetae.HAETAEParameters
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.
| Field Summary | |
static int |
CRH_BYTES
Size of the challenge hash (bytes) |
static int |
DQ
2 * Q |
static int |
ETA
η parameter (always 1) |
static HAETAEParameters |
haetae2
|
static HAETAEParameters |
haetae3
|
static HAETAEParameters |
haetae5
|
static int |
N
Ring dimension N |
static int |
POLY_HIGHBITS_PACKED_BYTES
Packed size of polynomial high bits (N * 9 / 8) |
static int |
POLYC_PACKED_BYTES
Packed size of a challenge polynomial |
static int |
POLYETA_PACKED_BYTES
Packed size of a polynomial with η‑coefficients |
static int |
Q
Modulus Q |
static int |
SEED_BYTES
Size of the seed (bytes) |
| Method Summary | |
int |
getAlphaHint()
|
double |
getB0()
|
long |
getB0Sq()
|
double |
getB1()
|
long |
getB1Sq()
|
double |
getB2()
|
long |
getB2Sq()
|
int |
getBaseEncH()
|
int |
getBaseEncHbZ1()
|
int |
getCryptoBytes()
Size of the signature in bytes |
org.bouncycastle.pqc.crypto.haetae.RansDecSymbol[] |
getDsyms_h()
|
org.bouncycastle.pqc.crypto.haetae.RansDecSymbol[] |
getDsyms_hb_z1()
|
org.bouncycastle.pqc.crypto.haetae.RansEncSymbol[] |
getEsyms_h()
|
org.bouncycastle.pqc.crypto.haetae.RansEncSymbol[] |
getEsyms_hb_z1()
|
double |
getGamma()
|
int |
getHalfAlphaHint()
|
int |
getK()
|
int |
getL()
|
int |
getLn()
|
int |
getLnBits()
|
int |
getLnHalf()
|
int |
getLogAlphaHint()
|
int |
getM_h()
|
int |
getM_hb_z1()
|
int |
getM()
|
java.lang.String |
getName()
|
int |
getOffset_h()
|
int |
getOffset_hb_z1()
|
int |
getPoly2etaPackedBytes()
Packed size of a polynomial with coefficients in [‑2η, 2η] |
int |
getPolyqPackedBytes()
Packed size of a polynomial with coefficients modulo Q |
int |
getPolyveckHighbitsPackedBytes()
|
int |
getPublicKeyBytes()
|
int |
getSecretKeyBytes()
|
double |
getSqnm()
|
long[] |
getStartCube()
|
long[] |
getStartTimesThreehalves()
Returns a copy of the start_times_threehalves constant. |
short[] |
getSymbolH_z1()
|
short[] |
getSymbolH()
|
int |
getTau()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final HAETAEParameters haetae2
public static final HAETAEParameters haetae3
public static final HAETAEParameters haetae5
public static final int SEED_BYTES
public static final int CRH_BYTES
public static final int N
public static final int Q
public static final int DQ
public static final int ETA
public static final int POLYETA_PACKED_BYTES
public static final int POLYC_PACKED_BYTES
public static final int POLY_HIGHBITS_PACKED_BYTES
| Method Detail |
public java.lang.String getName()
public int getK()
public int getL()
public int getM()
public int getTau()
public double getB0()
public double getB1()
public double getB2()
public double getGamma()
public int getLn()
public int getLnHalf()
public int getLnBits()
public double getSqnm()
public int getCryptoBytes()
public int getBaseEncHbZ1()
public int getBaseEncH()
public int getAlphaHint()
public int getLogAlphaHint()
public int getPolyqPackedBytes()
public int getPoly2etaPackedBytes()
public int getHalfAlphaHint()
public long getB0Sq()
public long getB1Sq()
public long getB2Sq()
public int getPolyveckHighbitsPackedBytes()
public int getPublicKeyBytes()
public int getSecretKeyBytes()
public long[] getStartCube()
public long[] getStartTimesThreehalves()
public int getM_h()
public int getOffset_h()
public int getM_hb_z1()
public int getOffset_hb_z1()
public org.bouncycastle.pqc.crypto.haetae.RansEncSymbol[] getEsyms_h()
public org.bouncycastle.pqc.crypto.haetae.RansDecSymbol[] getDsyms_h()
public org.bouncycastle.pqc.crypto.haetae.RansEncSymbol[] getEsyms_hb_z1()
public org.bouncycastle.pqc.crypto.haetae.RansDecSymbol[] getDsyms_hb_z1()
public short[] getSymbolH()
public short[] getSymbolH_z1()
public java.lang.String toString()
|
Bouncy Castle Cryptography Library 1.85 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||