Skip to content

Commit 642d697

Browse files
committed
Merge branch 'master' into build-with-nix
2 parents c44faa2 + 013f625 commit 642d697

File tree

1 file changed

+6
-0
lines changed
  • standalone/src/test/java/cz/crcs/ectester/standalone

1 file changed

+6
-0
lines changed

standalone/src/test/java/cz/crcs/ectester/standalone/AppTests.java

+6
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ public void defaultSuite(String libName, StdOut out) {
9494
if (libName.equals("Botan") || libName.equals("Crypto++")) {
9595
args = buildCLIArgs(libName, "default", "--kpg-type", "ECDH");
9696
}
97+
if (libName.equals("wolfCrypt")) {
98+
args = buildCLIArgs(libName, "default", "-b", "256");
99+
}
97100
ECTesterStandalone.main(args);
98101
String sout = out.capturedString();
99102
if (sout.contains("Exception")) {
@@ -124,6 +127,9 @@ public void performanceSuite(String libName) {
124127
if (libName.equals("Botan") || libName.equals("Crypto++")) {
125128
args = buildCLIArgs(libName, "performance", "--kpg-type", "ECDH");
126129
}
130+
if (libName.equals("wolfCrypt")) {
131+
args = buildCLIArgs(libName, "performance", "-b", "256");
132+
}
127133
ByteArrayOutputStream baos = new ByteArrayOutputStream();
128134
PrintStream ps = new PrintStream(baos);
129135
System.setOut(ps);

0 commit comments

Comments
 (0)