Class NewHopeTest

  • All Implemented Interfaces:
    junit.framework.Test

    public class NewHopeTest
    extends junit.framework.TestCase
    Test cases for the use of NewHope (NH) with the BCPQC provider.
    • Constructor Summary

      Constructors 
      Constructor Description
      NewHopeTest()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setUp()  
      void testKeyExchange()  
      void testPrivateKeyRecovery()  
      void testPublicKeyRecovery()  
      • Methods inherited from class junit.framework.TestCase

        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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, tearDown, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • NewHopeTest

        public NewHopeTest()
    • Method Detail

      • setUp

        public void setUp()
        Overrides:
        setUp in class junit.framework.TestCase
      • testKeyExchange

        public void testKeyExchange()
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testPrivateKeyRecovery

        public void testPrivateKeyRecovery()
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testPublicKeyRecovery

        public void testPublicKeyRecovery()
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception