Bouncy Castle Cryptography Library 1.82

org.bouncycastle.pqc.crypto.test
Class MLKEMTest

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

public class MLKEMTest
extends junit.framework.TestCase


Constructor Summary
MLKEMTest()
           
 
Method Summary
 void testEncapDecap_decapsulation()
           
 void testEncapDecap_encapsulation()
           
 void testEncapDecapCombinedVectorSet()
           
 void testKeyGen()
           
 void testKeyGenCombinedVectorSet()
           
 void testMLKEM()
           
 void testMLKEMRandom()
           
 void testModulus()
           
 void testParameters()
           
 void testPrivInfoGeneration()
           
 void testRNG()
           
 
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

MLKEMTest

public MLKEMTest()
Method Detail

testKeyGen

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

testKeyGenCombinedVectorSet

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

testEncapDecap_encapsulation

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

testEncapDecap_decapsulation

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

testEncapDecapCombinedVectorSet

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

testModulus

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

testPrivInfoGeneration

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

testMLKEM

public void testMLKEM()

testRNG

public void testRNG()

testParameters

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

testMLKEMRandom

public void testMLKEMRandom()

Bouncy Castle Cryptography Library 1.82