Enum Class FrodoKeyGenSpec.Variant
- All Implemented Interfaces:
Serializable, Comparable<FrodoKeyGenSpec.Variant>, Constable
- Enclosing class:
FrodoKeyGenSpec
Enumerates the standardized FrodoKEM parameter sets.
Each variant fixes matrix dimensions, modulus, and error distribution parameters. They balance security and performance at three target NIST security levels (128, 192, 256 bits).
- Since:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription~256-bit security, AES-based pseudorandomness.~256-bit security, SHAKE-based pseudorandomness.128-bit security, AES-based pseudorandomness.128-bit security, SHAKE-based pseudorandomness.~192-bit security, AES-based pseudorandomness.~192-bit security, SHAKE-based pseudorandomness. -
Method Summary
Modifier and TypeMethodDescriptionstatic FrodoKeyGenSpec.VariantReturns the enum constant of this class with the specified name.static FrodoKeyGenSpec.Variant[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FRODO_640_AES
128-bit security, AES-based pseudorandomness. -
FRODO_640_SHAKE
128-bit security, SHAKE-based pseudorandomness. -
FRODO_976_AES
~192-bit security, AES-based pseudorandomness. -
FRODO_976_SHAKE
~192-bit security, SHAKE-based pseudorandomness. -
FRODO_1344_AES
~256-bit security, AES-based pseudorandomness. -
FRODO_1344_SHAKE
~256-bit security, SHAKE-based pseudorandomness.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-