public class HQCKemSpi
extends iaik.security.kem.KeyEncapsulationMechanismSpi
[0] Carlos Aguilar Melchor, Nicolas Aragon, Slim Bettaieb, Loïc Bidoux, Olivier Blazy, Jurjen Bos, Jean-Christophe Deneuville, Arnaud Dion, Philippe Gaborit, Jérôme Lacan, Edoardo Persichetti, Jean-Marc Robert, Pascal Véron and Gilles Zémor HQC (30.04.2023) – Submission to round 4 of the NIST post-quantum project.
Constructor and Description |
---|
HQCKemSpi() |
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 InvalidParameterException, DigestException, InvalidKeyException
engineDecapsule
in class iaik.security.kem.KeyEncapsulationMechanismSpi
InvalidParameterException
DigestException
InvalidKeyException
Copyright © 2020–2024 Stiftung SIC. All rights reserved.