public class McElieceBenchmarkRunner extends KEMBenchmarkRunner
ct, kemDec, rand| Constructor and Description |
|---|
McElieceBenchmarkRunner() |
| Modifier and Type | Method and Description |
|---|---|
void |
decapsulationRandomBytes(org.openjdk.jmh.infra.Blackhole blackhole) |
void |
decapsulationWrongKey(org.openjdk.jmh.infra.Blackhole blackhole) |
protected AlgorithmParameterSpec |
generateParameterSpec() |
protected String |
getAlgorithmName() |
protected int |
getInputSize() |
static void |
main(String[] args) |
protected static void |
run(Class<?> klass) |
void |
setUp()
Setup global parameters.
|
void |
setUpIteration()
Set up instances for key generation, encapsulation and decapsulation.
|
decapsulate, encapsulate, getProvider, keyGenpublic void setUp()
throws NoSuchAlgorithmException,
InvalidAlgorithmParameterException,
InvalidKeyException,
PQException
setUp in class KEMBenchmarkRunnerNoSuchAlgorithmExceptionInvalidAlgorithmParameterExceptionInvalidKeyExceptionPQExceptionpublic void setUpIteration()
throws NoSuchAlgorithmException,
InvalidKeyException,
SignatureException,
InvalidAlgorithmParameterException,
NoSuchProviderException,
DigestException
KEMBenchmarkRunnerprotected AlgorithmParameterSpec generateParameterSpec() throws PQException
generateParameterSpec in class KEMBenchmarkRunnerPQExceptionprotected String getAlgorithmName()
getAlgorithmName in class KEMBenchmarkRunnerprotected int getInputSize()
getInputSize in class KEMBenchmarkRunnerprotected static void run(Class<?> klass) throws org.openjdk.jmh.runner.RunnerException
org.openjdk.jmh.runner.RunnerExceptionpublic static void main(String[] args) throws org.openjdk.jmh.runner.RunnerException
org.openjdk.jmh.runner.RunnerExceptionpublic void decapsulationRandomBytes(org.openjdk.jmh.infra.Blackhole blackhole)
throws Exception
ExceptionCopyright © 2020–2025 Stiftung SIC. All rights reserved.