Class SLHDSAParameters
java.lang.Object
org.bouncycastle.crypto.params.SLHDSAParameters
- All Implemented Interfaces:
PQCParameters
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SLHDSAParametersstatic final SLHDSAParametersstatic final SLHDSAParametersstatic final SLHDSAParametersstatic final SLHDSAParametersstatic final SLHDSAParametersstatic final SLHDSAParametersstatic final SLHDSAParametersstatic final SLHDSAParametersstatic final SLHDSAParametersstatic final SLHDSAParametersstatic final SLHDSAParametersstatic final SLHDSAParametersstatic final SLHDSAParametersstatic final SLHDSAParametersstatic final SLHDSAParametersstatic final SLHDSAParametersstatic final SLHDSAParametersstatic final SLHDSAParametersstatic final SLHDSAParametersstatic final SLHDSAParametersstatic final SLHDSAParametersstatic final SLHDSAParametersstatic final SLHDSAParametersstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionintReturn the classical security strength of this parameter set: 8 times its security parameter n, so 128, 192 or 256 bits (NIST IR 8547, Table 3).intgetN()getName()intReturn the NIST security category of this parameter set: 1 for the 128-bit sets, 3 for the 192-bit sets and 5 for the 256-bit sets (NIST IR 8547, Table 3).intgetType()boolean
-
Field Details
-
TYPE_PURE
public static final int TYPE_PURE- See Also:
-
TYPE_SHA2_256
public static final int TYPE_SHA2_256- See Also:
-
TYPE_SHA2_512
public static final int TYPE_SHA2_512- See Also:
-
TYPE_SHAKE128
public static final int TYPE_SHAKE128- See Also:
-
TYPE_SHAKE256
public static final int TYPE_SHAKE256- See Also:
-
sha2_128f
-
sha2_128s
-
sha2_192f
-
sha2_192s
-
sha2_256f
-
sha2_256s
-
shake_128f
-
shake_128s
-
shake_192f
-
shake_192s
-
shake_256f
-
shake_256s
-
sha2_128f_with_sha256
-
sha2_128s_with_sha256
-
sha2_192f_with_sha512
-
sha2_192s_with_sha512
-
sha2_256f_with_sha512
-
sha2_256s_with_sha512
-
shake_128f_with_shake128
-
shake_128s_with_shake128
-
shake_192f_with_shake256
-
shake_192s_with_shake256
-
shake_256f_with_shake256
-
shake_256s_with_shake256
-
-
Method Details
-
getName
-
getType
public int getType() -
getSecurityCategory
public int getSecurityCategory()Return the NIST security category of this parameter set: 1 for the 128-bit sets, 3 for the 192-bit sets and 5 for the 256-bit sets (NIST IR 8547, Table 3).- Specified by:
getSecurityCategoryin interfacePQCParameters- Returns:
- the security category, as given in NIST IR 8547 Tables 3 and 5.
-
getClassicalSecurityStrength
public int getClassicalSecurityStrength()Return the classical security strength of this parameter set: 8 times its security parameter n, so 128, 192 or 256 bits (NIST IR 8547, Table 3).- Specified by:
getClassicalSecurityStrengthin interfacePQCParameters- Returns:
- the classical security strength in bits.
-
getN
public int getN() -
getEngine
-
isPreHash
public boolean isPreHash()
-