|
Bouncy Castle Cryptography Library 1.87 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.pqc.crypto.hqc.HQCParameters
Parameter sets of the HQC specification of 2026-10-12 (Tables 6, 8 and 9): n, n1, n2, k, delta, the weights omega and omega_r (= omega_e), the FFT exponent, the Barrett multiplier for n, the size of ekKEM and the Reed-Solomon generator polynomial over GF(2^8) = GF(2)[X]/(X^8 + X^4 + X^3 + X + 1).
| Field Summary | |
static HQCParameters |
hqc128
|
static HQCParameters |
hqc192
|
static HQCParameters |
hqc256
|
| Method Summary | |
int |
getClassicalSecurityStrength()
Return the classical security strength of this parameter set: 128, 192 or 256 bits. |
int |
getEncapsulationLength()
|
java.lang.String |
getName()
|
int |
getPublicKeyBytes()
|
int |
getSecretKeyBytes()
Return the size of the decapsulation key encoding: the 32-byte seedKEM from which the whole key pair is derived, which is the only dkKEM format of the HQC specification of 2026-10-12. |
int |
getSecretLength()
|
int |
getSecurityCategory()
Return the NIST security category of this parameter set: 1 for HQC-128, 3 for HQC-192 and 5 for HQC-256 (the categories of the October 2026 specification; the HQC FIPS is still in development). |
int |
getSessionKeySize()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final HQCParameters hqc128
public static final HQCParameters hqc192
public static final HQCParameters hqc256
| Method Detail |
public int getEncapsulationLength()
public int getSessionKeySize()
public java.lang.String getName()
public int getSecurityCategory()
getSecurityCategory in interface PQCParameterspublic int getClassicalSecurityStrength()
getClassicalSecurityStrength in interface PQCParameterspublic int getPublicKeyBytes()
public int getSecretKeyBytes()
public int getSecretLength()
|
Bouncy Castle Cryptography Library 1.87 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||