Bouncy Castle Cryptography Library 1.82

org.bouncycastle.pqc.crypto.test
Class NTRUTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.bouncycastle.pqc.crypto.test.NTRUTest
All Implemented Interfaces:
junit.framework.Test

public class NTRUTest
extends junit.framework.TestCase

KAT tests for round 3 NTRU algorithm.


Constructor Summary
NTRUTest()
           
 
Method Summary
 void testParameters()
           
 void testPQCgenKAT_kem()
           
 void testPrivInfoGeneration()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NTRUTest

public NTRUTest()
Method Detail

testParameters

public void testParameters()

testPrivInfoGeneration

public void testPrivInfoGeneration()
                            throws java.io.IOException
Throws:
java.io.IOException

testPQCgenKAT_kem

public void testPQCgenKAT_kem()
                       throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

Bouncy Castle Cryptography Library 1.82