aboutsummaryrefslogtreecommitdiff
path: root/standalone/src/test/java
diff options
context:
space:
mode:
authorJ08nY2024-08-09 16:42:32 +0200
committerJ08nY2024-08-09 16:42:32 +0200
commit77469ff0f8daaa1c47719d88885d5a66431cdce5 (patch)
tree332464a134ec003d0a2ed4c000766be30570e65d /standalone/src/test/java
parent960b3c6f01876719c8642ff4b3d8fd76e2de3f9b (diff)
downloadECTester-77469ff0f8daaa1c47719d88885d5a66431cdce5.tar.gz
ECTester-77469ff0f8daaa1c47719d88885d5a66431cdce5.tar.zst
ECTester-77469ff0f8daaa1c47719d88885d5a66431cdce5.zip
Diffstat (limited to 'standalone/src/test/java')
-rw-r--r--standalone/src/test/java/cz/crcs/ectester/standalone/DeterministicTests.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/standalone/src/test/java/cz/crcs/ectester/standalone/DeterministicTests.java b/standalone/src/test/java/cz/crcs/ectester/standalone/DeterministicTests.java
index bebb3c5..e5caae8 100644
--- a/standalone/src/test/java/cz/crcs/ectester/standalone/DeterministicTests.java
+++ b/standalone/src/test/java/cz/crcs/ectester/standalone/DeterministicTests.java
@@ -14,7 +14,8 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
public class DeterministicTests {
static Stream<String> libs() {
- return Stream.of("Botan", "BouncyCastle", "Crypto++", "IPPCP", "mbedTLS", "Nettle", "OpenSSL", "SunEC", "tomcrypt");
+ return Stream.of("Botan", "BouncyCastle", "Crypto++", "IPPCP", "mbedTLS", "Nettle", "OpenSSL", "SunEC", "tomcrypt", "LibreSSL");
+ // BoringSSL and libgcrypt cannot be easily tested here, because they initialize their RNG only once per process.
}
@SuppressWarnings("JUnitMalformedDeclaration")
@@ -110,6 +111,7 @@ public class DeterministicTests {
case "Crypto++":
args = new String[]{"ecdsa", "-ps", "12345678", "-d", "1234", "-n", "10", "-nc", "secg/secp256r1", "-t", "ECDSA", libName};
break;
+ case "LibreSSL":
case "mbedTLS":
args = new String[]{"ecdsa", "-ps", "12345678", "-d", "1234", "-n", "10", "-nc", "secg/secp256r1", "-t", "NONEwithECDSA", libName};
break;