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, keyGen
public void setUp() throws NoSuchAlgorithmException, InvalidAlgorithmParameterException, InvalidKeyException, PQException
setUp
in class KEMBenchmarkRunner
NoSuchAlgorithmException
InvalidAlgorithmParameterException
InvalidKeyException
PQException
public void setUpIteration() throws NoSuchAlgorithmException, InvalidKeyException, SignatureException, InvalidAlgorithmParameterException, NoSuchProviderException, DigestException
KEMBenchmarkRunner
protected AlgorithmParameterSpec generateParameterSpec() throws PQException
generateParameterSpec
in class KEMBenchmarkRunner
PQException
protected String getAlgorithmName()
getAlgorithmName
in class KEMBenchmarkRunner
protected int getInputSize()
getInputSize
in class KEMBenchmarkRunner
protected static void run(Class<?> klass) throws org.openjdk.jmh.runner.RunnerException
org.openjdk.jmh.runner.RunnerException
public static void main(String[] args) throws org.openjdk.jmh.runner.RunnerException
org.openjdk.jmh.runner.RunnerException
public void decapsulationRandomBytes(org.openjdk.jmh.infra.Blackhole blackhole) throws Exception
Exception
Copyright © 2020–2025 Stiftung SIC. All rights reserved.