public class FalconTest
extends junit.framework.TestCase
| Constructor and Description |
|---|
FalconTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testPublicKeyDerivationWithoutStoredPublicKey()
github #2297: when only the private encoding (f ‖ g ‖ F) was
persisted — no public key bytes, no key-generation seed — the public key
h must be recomputed from the private polynomials (h = g * f^-1 mod q)
by the
getPublicKeyParameters() fall-back. |
void |
testPublicKeyRecoveryFromPrivateKey()
github #2297: FalconPrivateKeyParameters.getPublicKeyParameters()
should return a FalconPublicKeyParameters whose encoded form matches
the keypair's original public key, and a signature produced under
the private key must verify under the recovered public key.
|
void |
testRandom() |
void |
testVectors() |
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 testVectors()
throws java.lang.Exception
java.lang.Exceptionpublic void testRandom()
throws java.lang.Exception
java.lang.Exceptionpublic void testPublicKeyRecoveryFromPrivateKey()
throws java.lang.Exception
java.lang.Exceptionpublic void testPublicKeyDerivationWithoutStoredPublicKey()
throws java.lang.Exception
getPublicKeyParameters() fall-back. The recovered h must
match the keypair's original public key and verify a signature made under
the reconstructed private key.java.lang.Exception