From ab287ff1d03953c7215a3a0ee2e2ece781b03e51 Mon Sep 17 00:00:00 2001 From: Patrick Longa Date: Sun, 6 Jun 2021 19:38:15 -0700 Subject: [PATCH] Fix --- tests/test_sike.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_sike.c b/tests/test_sike.c index a85bb91..7305133 100644 --- a/tests/test_sike.c +++ b/tests/test_sike.c @@ -27,7 +27,7 @@ #endif -int cryptotest_kem(int iterations) +int cryptotest_kem() { // Testing KEM unsigned int i; unsigned char sk[CRYPTO_SECRETKEYBYTES] = {0}; @@ -138,7 +138,7 @@ int main(int argc, char **argv) { int Status = PASSED; - Status = cryptotest_kem(TEST_LOOPS); // Test key encapsulation mechanism + Status = cryptotest_kem(); // Test key encapsulation mechanism if (Status != PASSED) { printf("\n\n Error detected: KEM_ERROR_SHARED_KEY \n\n"); return FAILED; @@ -146,7 +146,7 @@ int main(int argc, char **argv) if ((argc > 1) && (strcmp("nobench", argv[1]) == 0)) {} else { - Status = cryptorun_kem(); // Benchmark key encapsulation mechanism + Status = cryptorun_kem(); // Benchmark key encapsulation mechanism if (Status != PASSED) { printf("\n\n Error detected: KEM_ERROR_SHARED_KEY \n\n"); return FAILED;