public final class FaestParameters
extends java.lang.Object
Twelve instances are exposed, one per parameter set, mirroring the
faest_paramid_t enumeration in the reference implementation's
instances.h. Numeric values come from the per-parameter macros in
build/parameters.h of the reference build (auto-generated from the
spec). The "derived" fields (k, tau0, tau1, L)
are computed from lambda, tau, wGrind per the
formulae in instances.c.
Reference upstream: faest-sign/faest-ref.
| Modifier and Type | Field and Description |
|---|---|
static FaestParameters |
faest_128f
FAEST-128f: lambda=128, fast-signing trade-off.
|
static FaestParameters |
faest_128s
FAEST-128s: lambda=128, small-signature trade-off.
|
static FaestParameters |
faest_192f
FAEST-192f: lambda=192, fast-signing trade-off.
|
static FaestParameters |
faest_192s
FAEST-192s: lambda=192, small-signature trade-off.
|
static FaestParameters |
faest_256f
FAEST-256f: lambda=256, fast-signing trade-off.
|
static FaestParameters |
faest_256s
FAEST-256s: lambda=256, small-signature trade-off.
|
static FaestParameters |
faest_em_128f
FAEST-EM-128f: lambda=128, EM mode, fast-signing trade-off.
|
static FaestParameters |
faest_em_128s
FAEST-EM-128s: lambda=128, EM mode, small-signature trade-off.
|
static FaestParameters |
faest_em_192f
FAEST-EM-192f: lambda=192, EM mode, fast-signing trade-off.
|
static FaestParameters |
faest_em_192s
FAEST-EM-192s: lambda=192, EM mode, small-signature trade-off.
|
static FaestParameters |
faest_em_256f
FAEST-EM-256f: lambda=256, EM mode, fast-signing trade-off.
|
static FaestParameters |
faest_em_256s
FAEST-EM-256s: lambda=256, EM mode, small-signature trade-off.
|
static int |
IV_SIZE
IV size in bytes for randomness expansion.
|
static int |
MAX_LAMBDA
Max length of a witness, mirrors MAX_LAMBDA in instances.h.
|
static int |
MAX_TAU
Max VOLE repetitions, mirrors MAX_TAU.
|
static int |
UNIVERSAL_HASH_B
Universal-hash output width in bytes, mirrors UNIVERSAL_HASH_B.
|
| Modifier and Type | Method and Description |
|---|---|
static FaestParameters |
byName(java.lang.String name)
Return the parameter set whose
getName() matches, or null. |
int |
getEll() |
int |
getK() |
int |
getL() |
int |
getLambda() |
int |
getLambdaBytes() |
java.lang.String |
getName() |
int |
getOwfInputSize() |
int |
getOwfOutputSize() |
int |
getPkSize() |
int |
getSigSize() |
int |
getSke() |
int |
getSkSize() |
int |
getTau() |
int |
getTau0() |
int |
getTau1() |
int |
getWGrind() |
boolean |
isEm() |
public static final FaestParameters faest_128s
public static final FaestParameters faest_128f
public static final FaestParameters faest_192s
public static final FaestParameters faest_192f
public static final FaestParameters faest_256s
public static final FaestParameters faest_256f
public static final FaestParameters faest_em_128s
public static final FaestParameters faest_em_128f
public static final FaestParameters faest_em_192s
public static final FaestParameters faest_em_192f
public static final FaestParameters faest_em_256s
public static final FaestParameters faest_em_256f
public static final int MAX_LAMBDA
public static final int MAX_TAU
public static final int UNIVERSAL_HASH_B
public static final int IV_SIZE
public static FaestParameters byName(java.lang.String name)
getName() matches, or null.public java.lang.String getName()
public boolean isEm()
public int getLambda()
public int getLambdaBytes()
public int getTau()
public int getWGrind()
public int getEll()
public int getK()
public int getTau0()
public int getTau1()
public int getL()
public int getSke()
public int getOwfInputSize()
public int getOwfOutputSize()
public int getPkSize()
public int getSkSize()
public int getSigSize()