aboutsummaryrefslogtreecommitdiff
path: root/src/cz/crcs/ectester/standalone/ECTesterStandalone.java
diff options
context:
space:
mode:
authordavidhofman2021-08-22 12:25:17 +0200
committerGitHub2021-08-22 12:25:17 +0200
commit1ceb048d2e127cd0930aa3ebc43ffd241326869a (patch)
tree7a66cfc2c9a764f276d97584d1fd1b0efa1b863a /src/cz/crcs/ectester/standalone/ECTesterStandalone.java
parent63161d5916c772667ed6482b7d7e16973ed2ea74 (diff)
downloadECTester-1ceb048d2e127cd0930aa3ebc43ffd241326869a.tar.gz
ECTester-1ceb048d2e127cd0930aa3ebc43ffd241326869a.tar.zst
ECTester-1ceb048d2e127cd0930aa3ebc43ffd241326869a.zip
Implement StandaloneMiscSuite. (#8)
* add empty StandaloneTwistSuite * implemented StandaloneTwistSuite * add expectError method to KeyAgreementTest and KeyGeneratorTest * utilize new expectError methods, general cleanup of StandaloneTwistSuite * changed KeyAgreement to ECDH in the description * Add StandaloneCofactorSuite class. * Implement StandaloneCofactorSuite. * Add StandaloneDegenerateSuite. * Add StandaloneInvalidSuite. * Implement StandaloneInvalidSuite. * Implement StandaloneDegenerateSuite. * Small cosmetic change to some constructors. * Add new expectError method to SignatureTest. * Add and implement StandaloneMiscSuite. * More small cosmetic changes. Co-authored-by: davidhofman <davidhofman@github.com> Co-authored-by: Ján Jančár <J08nY@users.noreply.github.com>
Diffstat (limited to 'src/cz/crcs/ectester/standalone/ECTesterStandalone.java')
-rw-r--r--src/cz/crcs/ectester/standalone/ECTesterStandalone.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cz/crcs/ectester/standalone/ECTesterStandalone.java b/src/cz/crcs/ectester/standalone/ECTesterStandalone.java
index 072926c..f07a4aa 100644
--- a/src/cz/crcs/ectester/standalone/ECTesterStandalone.java
+++ b/src/cz/crcs/ectester/standalone/ECTesterStandalone.java
@@ -316,7 +316,8 @@ public class ECTesterStandalone {
new StandaloneInvalidSuite(null, null, null),
new StandaloneDegenerateSuite(null, null, null),
new StandaloneCofactorSuite(null, null, null),
- new StandaloneTwistSuite(null, null, null)};
+ new StandaloneTwistSuite(null, null, null),
+ new StandaloneMiscSuite(null, null, null)};
for (StandaloneTestSuite suite : suites) {
System.out.println(" - " + suite.getName());
for (String line : suite.getDescription()) {
@@ -762,6 +763,9 @@ public class ECTesterStandalone {
case "twist":
suite = new StandaloneTwistSuite(writer, cfg, cli);
break;
+ case "miscellaneous":
+ suite = new StandaloneMiscSuite(writer, cfg, cli);
+ break;
case "default":
default:
suite = new StandaloneDefaultSuite(writer, cfg, cli);