public class FaestKatTest
extends junit.framework.TestCase
For each count entry in PQCsignKAT_*.rsp:
NISTSecureRandom (AES-256-CTR-DRBG) with the 48-byte
KAT seed.FaestKeyPairGenerator against that DRBG; assert the
resulting pk/sk match the KAT.FaestSigner with the private key and the SAME
DRBG (so it consumes rho from the correct position).msg || signature matches the
expected sm byte-exactly.FaestSigner for verify and assert the
signature accepts.
KAT files live in bc-test-data/pqc/crypto/faest/; the test is
driven by org.bouncycastle.test.TestResourceFinder.
| Constructor and Description |
|---|
FaestKatTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testFaest128f() |
void |
testFaest128s() |
void |
testFaest192f() |
void |
testFaest192s() |
void |
testFaest256f() |
void |
testFaest256s() |
void |
testFaestEm128f() |
void |
testFaestEm128s() |
void |
testFaestEm192f() |
void |
testFaestEm192s() |
void |
testFaestEm256f() |
void |
testFaestEm256s() |
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, setUp, tearDown, toStringpublic void testFaest128s()
throws java.io.IOException
java.io.IOExceptionpublic void testFaest128f()
throws java.io.IOException
java.io.IOExceptionpublic void testFaest192s()
throws java.io.IOException
java.io.IOExceptionpublic void testFaest192f()
throws java.io.IOException
java.io.IOExceptionpublic void testFaest256s()
throws java.io.IOException
java.io.IOExceptionpublic void testFaest256f()
throws java.io.IOException
java.io.IOExceptionpublic void testFaestEm128s()
throws java.io.IOException
java.io.IOExceptionpublic void testFaestEm128f()
throws java.io.IOException
java.io.IOExceptionpublic void testFaestEm192s()
throws java.io.IOException
java.io.IOExceptionpublic void testFaestEm192f()
throws java.io.IOException
java.io.IOExceptionpublic void testFaestEm256s()
throws java.io.IOException
java.io.IOExceptionpublic void testFaestEm256f()
throws java.io.IOException
java.io.IOException