java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.bouncycastle.pqc.jcajce.provider.test.SABERTest
All Implemented Interfaces:
junit.framework.Test

public class SABERTest extends junit.framework.TestCase
KEM tests for SABER with the BCPQC provider.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    void
     
    void
     
    void
     
    void
     
    void
     

    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 Details

    • SABERTest

      public SABERTest()
  • Method Details

    • setUp

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

      public void testBasicKEMAES() throws Exception
      Throws:
      Exception
    • testBasicKEMCamellia

      public void testBasicKEMCamellia() throws Exception
      Throws:
      Exception
    • testBasicKEMSEED

      public void testBasicKEMSEED() throws Exception
      Throws:
      Exception
    • testBasicKEMARIA

      public void testBasicKEMARIA() throws Exception
      Throws:
      Exception
    • testGenerateAES

      public void testGenerateAES() throws Exception
      Throws:
      Exception
    • testGenerateAES256

      public void testGenerateAES256() throws Exception
      Throws:
      Exception