|
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.sdith.SDitHParameters
SDitH parameter set descriptor.
SDitH (Syndrome-Decoding-in-the-Head) has 24 NIST-submitted variants formed
from the cross of:
MPC structure: Hypercube or Threshold,
NIST category: 1, 3, or 5,
Field: GF(256) or P251.
The current Bouncy Castle port wires up the Hypercube / Category 1 /
GF(256) variant matching the shipped reference KAT vectors. Additional
variants can be added by populating new
constants here and adding the corresponding precomputed tables to
SDitHPrecomputed.
The numeric fields follow the reference param.h convention: : code length, : code dimension, : Hamming weight bound on the SD solution, : splitting factor (number of twists), : number of MPC evaluation points per iteration, : number of parallel MPC repetitions, : hypercube dimension (2^D leaf parties), , , , , : in bytes, : extension-field byte width (3 or 4), : SHA3 variant used for commitments and Fiat-Shamir, : SHAKE variant used as XOF.
| Field Summary | |
static int |
FIELD_GF256
|
static int |
FIELD_P251
|
static SDitHParameters |
sdith_hypercube_cat1_gf256
|
static SDitHParameters |
sdith_hypercube_cat1_p251
|
static SDitHParameters |
sdith_hypercube_cat3_gf256
|
static SDitHParameters |
sdith_hypercube_cat3_p251
|
static SDitHParameters |
sdith_hypercube_cat5_gf256
|
static SDitHParameters |
sdith_hypercube_cat5_p251
|
static SDitHParameters |
sdith_threshold_cat1_gf256
|
static SDitHParameters |
sdith_threshold_cat1_p251
|
static SDitHParameters |
sdith_threshold_cat3_gf256
|
static SDitHParameters |
sdith_threshold_cat3_p251
|
static SDitHParameters |
sdith_threshold_cat5_gf256
|
static SDitHParameters |
sdith_threshold_cat5_p251
|
static int |
VARIANT_HYPERCUBE
|
static int |
VARIANT_THRESHOLD
|
| Method Summary | |
int |
getCategory()
|
int |
getCommitSize()
|
int |
getD()
|
int |
getDimD()
|
int |
getField()
|
int |
getFpointMask()
|
int |
getFpointSize()
|
int |
getHaNSlice()
|
int |
getHashBits()
|
int |
getHashSize()
|
int |
getK()
|
int |
getM()
|
int |
getMd()
|
java.lang.String |
getName()
|
int |
getNbParties()
Threshold variant: number of MPC parties. |
int |
getNbRevealed()
Threshold variant: number of revealed parties per execution. |
int |
getRhoSize()
|
int |
getSaltSize()
|
int |
getSeedSize()
|
int |
getT()
|
int |
getTau()
|
int |
getTreeMaxOpenLeaves()
Threshold variant: upper bound on Merkle authentication-path nodes per execution. |
int |
getVariant()
|
int |
getW()
|
int |
getWd()
|
int |
getXofBits()
|
int |
getYSize()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int VARIANT_HYPERCUBE
public static final int VARIANT_THRESHOLD
public static final int FIELD_GF256
public static final int FIELD_P251
public static final SDitHParameters sdith_hypercube_cat1_gf256
public static final SDitHParameters sdith_hypercube_cat3_gf256
public static final SDitHParameters sdith_hypercube_cat5_gf256
public static final SDitHParameters sdith_hypercube_cat1_p251
public static final SDitHParameters sdith_hypercube_cat3_p251
public static final SDitHParameters sdith_hypercube_cat5_p251
public static final SDitHParameters sdith_threshold_cat1_gf256
public static final SDitHParameters sdith_threshold_cat3_gf256
public static final SDitHParameters sdith_threshold_cat5_gf256
public static final SDitHParameters sdith_threshold_cat1_p251
public static final SDitHParameters sdith_threshold_cat3_p251
public static final SDitHParameters sdith_threshold_cat5_p251
| Method Detail |
public int getNbRevealed()
public int getTreeMaxOpenLeaves()
public int getNbParties()
public java.lang.String getName()
public int getVariant()
public int getField()
public int getCategory()
public int getM()
public int getK()
public int getW()
public int getD()
public int getT()
public int getTau()
public int getDimD()
public int getSeedSize()
public int getRhoSize()
public int getSaltSize()
public int getCommitSize()
public int getHashSize()
public int getFpointSize()
public int getHashBits()
public int getXofBits()
public int getWd()
public int getYSize()
public int getHaNSlice()
public int getMd()
public int getFpointMask()
|
Bouncy Castle Cryptography Library 1.85 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||