public class KyberParameterSpec extends PQAlgorithmParameterSpec
[0] Roberto Avanzi, Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John M. Schanck, Peter Schwabe, Gregor Seiler, and Damien Stehlé: " CRYSTALS-Kyber (version 3.02)" – Submission to round 3 of the NIST post-quantum project. [1] @see NIST.FIPS.203
Modifier and Type | Class and Description |
---|---|
static class |
KyberParameterSpec.ParameterSets
The possible parameter sets for Kyber.
|
algorithmID
Constructor and Description |
---|
KyberParameterSpec()
This is the default constructor for the Kyber parameter spec.
|
KyberParameterSpec(iaik.asn1.structures.AlgorithmID algorithmID)
Define the parameter spec for Kyber by the algorithm ID.
|
KyberParameterSpec(KyberParameterSpec.ParameterSets parameterSet)
Define the parameter spec for Kyber by the parameter set.
|
KyberParameterSpec(SecurityLevel securityLevel)
Define the parameter spec for Kyber by the security level.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
getAlgorithmID
public KyberParameterSpec()
public KyberParameterSpec(KyberParameterSpec.ParameterSets parameterSet) throws PQRuntimeException
parameterSet
- The given parameter setPQRuntimeException
- if the given KyberParameterSpec.ParameterSets is not a valid parameter setpublic KyberParameterSpec(SecurityLevel securityLevel) throws NullPointerException
securityLevel
- The given security levelNullPointerException
- if the given SecurityLevel is nullpublic KyberParameterSpec(iaik.asn1.structures.AlgorithmID algorithmID) throws PQException
algorithmID
- The given algorithm IDPQException
- if an error occurs because not valid algorithmID was givenCopyright © 2020–2023 Stiftung SIC. All rights reserved.