Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hook <dgh@cryptoworkshop.com>2013-05-21 04:01:48 +0400
committerDavid Hook <dgh@cryptoworkshop.com>2013-05-21 04:01:48 +0400
commit1467e6cec0e36540d320536a64d7fdd52bd8c8b9 (patch)
tree969a839507f9e88e4110dd79edac5ee6c381a557
parent1279f9b0838df165a4e16c04d36f455936690412 (diff)
added NTRU tests
-rw-r--r--src/test/java/org/bouncycastle/pqc/crypto/test/AllTests.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/test/java/org/bouncycastle/pqc/crypto/test/AllTests.java b/src/test/java/org/bouncycastle/pqc/crypto/test/AllTests.java
index 1a74dcac..9bd0e33f 100644
--- a/src/test/java/org/bouncycastle/pqc/crypto/test/AllTests.java
+++ b/src/test/java/org/bouncycastle/pqc/crypto/test/AllTests.java
@@ -15,7 +15,7 @@ public class AllTests
for (int i = 0; i != tests.length; i++)
{
SimpleTestResult result = (SimpleTestResult)tests[i].perform();
-
+
if (!result.isSuccessful())
{
fail(result.toString());
@@ -33,7 +33,12 @@ public class AllTests
TestSuite suite = new TestSuite("Lightweight PQ Crypto Tests");
suite.addTestSuite(AllTests.class);
-
+ suite.addTestSuite(BitStringTest.class);
+ suite.addTestSuite(EncryptionKeyTest.class);
+ suite.addTestSuite(NTRUEncryptionParametersTest.class);
+ suite.addTestSuite(NTRUEncryptTest.class);
+ suite.addTestSuite(NTRUSignatureParametersTest.class);
+
return suite;
}
}