Bouncy Castle Cryptography Library 1.85

org.bouncycastle.pqc.crypto.test
Class FrodoKEMVectorTest

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

public class FrodoKEMVectorTest
extends junit.framework.TestCase

KAT tests for the standardised FrodoKEM (ISO/IEC 18033-2) under org.bouncycastle.crypto: the salted "FrodoKEM" and ephemeral "eFrodoKEM" parameter sets, in both SHAKE and AES gen-matrix variants, at security levels 976 and 1344. Vectors are the FrodoKEM team's reference KATs (salted from the FrodoKEM tree, ephemeral from the eFrodoKEM tree).


Constructor Summary
FrodoKEMVectorTest()
           
 
Method Summary
 void testParameters()
           
 void testVectors()
           
 
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

FrodoKEMVectorTest

public FrodoKEMVectorTest()
Method Detail

testParameters

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

testVectors

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

Bouncy Castle Cryptography Library 1.85