|
Bouncy Castle Cryptography Library 1.87 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.bouncycastle.pqc.crypto.test.MLKEMTest
| Constructor Summary | |
MLKEMTest()
|
|
| Method Summary | |
void |
testEncapDecap_decapsulation()
|
void |
testEncapDecap_encapsulation()
|
void |
testEncapDecapCombinedVectorSet()
|
void |
testInputs()
|
void |
testKeyGen()
|
void |
testKeyGenCombinedVectorSet()
|
void |
testKeys()
|
void |
testMLKEM()
|
void |
testMLKEMRandom()
|
void |
testModulus()
|
void |
testParameters()
|
void |
testPreferredFormatCopyIsIndependent()
|
void |
testPrivateKeyInfoChoiceArms()
RFC 9935 sec. 6: the privateKey is CHOICE { seed [0] OCTET STRING (SIZE (64)), expandedKey OCTET STRING, both SEQUENCE { seed, expandedKey } } and the tag says which arm is present. |
void |
testPrivateKeyRejectsMalformedLength()
|
void |
testPrivInfoGeneration()
|
void |
testRNG()
|
void |
testWithPreferredFormat()
|
| 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 |
public MLKEMTest()
| Method Detail |
public void testKeys()
public void testPreferredFormatCopyIsIndependent()
public void testPrivateKeyRejectsMalformedLength()
public void testPrivateKeyInfoChoiceArms()
throws java.lang.Exception
java.lang.Exception
public void testInputs()
throws java.lang.Exception
java.lang.Exception
public void testKeyGen()
throws java.io.IOException
java.io.IOException
public void testKeyGenCombinedVectorSet()
throws java.io.IOException
java.io.IOException
public void testEncapDecap_encapsulation()
throws java.io.IOException
java.io.IOException
public void testEncapDecap_decapsulation()
throws java.io.IOException
java.io.IOException
public void testEncapDecapCombinedVectorSet()
throws java.io.IOException
java.io.IOException
public void testModulus()
throws java.io.IOException
java.io.IOException
public void testPrivInfoGeneration()
throws java.io.IOException
java.io.IOExceptionpublic void testMLKEM()
public void testRNG()
public void testParameters()
throws java.lang.Exception
java.lang.Exceptionpublic void testMLKEMRandom()
public void testWithPreferredFormat()
|
Bouncy Castle Cryptography Library 1.87 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||