public class MLKEMKemSpi
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 |
|---|
MLKEMKemSpi() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
engineDecapsulate(byte[] c,
byte[] k) |
protected void |
engineDeriveKey(byte[] output,
List input) |
protected byte[] |
engineEncapsulate(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.KeyEncapsulationMechanismSpiInvalidKeyExceptionprotected void engineInit(Key key, SecureRandom secureRandom) throws InvalidKeyException
engineInit in class iaik.security.kem.KeyEncapsulationMechanismSpiInvalidKeyExceptionprotected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException
engineInit in class iaik.security.kem.KeyEncapsulationMechanismSpiInvalidKeyExceptionInvalidAlgorithmParameterExceptionprotected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom secureRandom) throws InvalidKeyException, InvalidAlgorithmParameterException
engineInit in class iaik.security.kem.KeyEncapsulationMechanismSpiInvalidKeyExceptionInvalidAlgorithmParameterExceptionprotected AlgorithmParameters engineGetParameters()
engineGetParameters in class iaik.security.kem.KeyEncapsulationMechanismSpiprotected void engineDeriveKey(byte[] output,
List input)
engineDeriveKey in class iaik.security.kem.KeyEncapsulationMechanismSpiprotected byte[] engineEncapsulate(byte[] ss)
throws InvalidKeyException,
DigestException
engineEncapsulate in class iaik.security.kem.KeyEncapsulationMechanismSpiInvalidKeyExceptionDigestExceptionprotected void engineDecapsulate(byte[] c,
byte[] k)
throws DigestException,
InvalidParameterException,
InvalidKeyException
engineDecapsulate in class iaik.security.kem.KeyEncapsulationMechanismSpiDigestExceptionInvalidParameterExceptionInvalidKeyExceptionCopyright © 2020–2025 Stiftung SIC. All rights reserved.