public class KyberKemSpi
extends iaik.security.kem.KeyEncapsulationMechanismSpi
[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
Constructor and Description |
---|
KyberKemSpi() |
Modifier and Type | Method and Description |
---|---|
protected void |
engineDecapsule(byte[] c,
byte[] k) |
protected void |
engineDeriveKey(byte[] output,
List input) |
protected byte[] |
engineEncapsule(byte[] ss) |
protected AlgorithmParameters |
engineGetParameters() |
protected void |
engineInit(Key key) |
protected void |
engineInit(Key key,
AlgorithmParameterSpec params) |
protected void |
engineInit(Key key,
AlgorithmParameterSpec params,
SecureRandom secureRandom) |
protected void |
engineInit(Key key,
SecureRandom secureRandom) |
protected void engineInit(Key key) throws InvalidKeyException
engineInit
in class iaik.security.kem.KeyEncapsulationMechanismSpi
InvalidKeyException
protected void engineInit(Key key, SecureRandom secureRandom) throws InvalidKeyException
engineInit
in class iaik.security.kem.KeyEncapsulationMechanismSpi
InvalidKeyException
protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException
engineInit
in class iaik.security.kem.KeyEncapsulationMechanismSpi
InvalidKeyException
InvalidAlgorithmParameterException
protected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom secureRandom) throws InvalidKeyException, InvalidAlgorithmParameterException
engineInit
in class iaik.security.kem.KeyEncapsulationMechanismSpi
InvalidKeyException
InvalidAlgorithmParameterException
protected AlgorithmParameters engineGetParameters()
engineGetParameters
in class iaik.security.kem.KeyEncapsulationMechanismSpi
protected void engineDeriveKey(byte[] output, List input)
engineDeriveKey
in class iaik.security.kem.KeyEncapsulationMechanismSpi
protected byte[] engineEncapsule(byte[] ss) throws InvalidKeyException, DigestException
engineEncapsule
in class iaik.security.kem.KeyEncapsulationMechanismSpi
InvalidKeyException
DigestException
protected void engineDecapsule(byte[] c, byte[] k) throws DigestException, InvalidParameterException, InvalidKeyException
engineDecapsule
in class iaik.security.kem.KeyEncapsulationMechanismSpi
DigestException
InvalidParameterException
InvalidKeyException
Copyright © 2020–2023 Stiftung SIC. All rights reserved.