botan.math.ec_gfp.test

Unit test helper

Members

Functions

createRandomPoint
PointGFp createRandomPoint(RandomNumberGenerator rng, CurveGFp curve)
Undocumented in source. Be warned that the author may not have intended to support it.
randomizedTest
size_t randomizedTest(RandomNumberGenerator rng, ECGroup group)
Undocumented in source. Be warned that the author may not have intended to support it.
randomizedTest
size_t randomizedTest()
Undocumented in source. Be warned that the author may not have intended to support it.
testAddPoint
size_t testAddPoint()
Undocumented in source. Be warned that the author may not have intended to support it.
testBasicOperations
size_t testBasicOperations()
Undocumented in source. Be warned that the author may not have intended to support it.
testCalcWithZeropoint
size_t testCalcWithZeropoint()
Undocumented in source. Be warned that the author may not have intended to support it.
testCdcCurve33
size_t testCdcCurve33()
Undocumented in source. Be warned that the author may not have intended to support it.
testCoordinates
size_t testCoordinates()
Undocumented in source. Be warned that the author may not have intended to support it.
testCurveCpCtor
size_t testCurveCpCtor()
Undocumented in source. Be warned that the author may not have intended to support it.
testEncDecCompressed160
size_t testEncDecCompressed160()
Undocumented in source. Be warned that the author may not have intended to support it.
testEncDecCompressed256
size_t testEncDecCompressed256()
Undocumented in source. Be warned that the author may not have intended to support it.
testEncDecUncompressed112
size_t testEncDecUncompressed112()
Undocumented in source. Be warned that the author may not have intended to support it.
testEncDecUncompressed521
size_t testEncDecUncompressed521()
Undocumented in source. Be warned that the author may not have intended to support it.
testEncDecUncompressed521PrimeTooLarge
size_t testEncDecUncompressed521PrimeTooLarge()
Undocumented in source. Be warned that the author may not have intended to support it.
testGfpStoreRestore
size_t testGfpStoreRestore()
Undocumented in source. Be warned that the author may not have intended to support it.
testMoreZeropoint
size_t testMoreZeropoint()
Undocumented in source. Be warned that the author may not have intended to support it.
testMultByOrder
size_t testMultByOrder()
Undocumented in source. Be warned that the author may not have intended to support it.
testMultPoint
size_t testMultPoint()
Undocumented in source. Be warned that the author may not have intended to support it.
testMultSecMass
size_t testMultSecMass()

This test verifies that the side channel attack resistant multiplication function yields the same result as the normal (insecure) multiplication via operator*=

testPointMult
size_t testPointMult()
Undocumented in source. Be warned that the author may not have intended to support it.
testPointNegative
size_t testPointNegative()
Undocumented in source. Be warned that the author may not have intended to support it.
testPointSwap
size_t testPointSwap()
Undocumented in source. Be warned that the author may not have intended to support it.
testPointTransformation
size_t testPointTransformation()

Test point multiplication according to

testPointTurnOnSpRedMul
size_t testPointTurnOnSpRedMul()
Undocumented in source. Be warned that the author may not have intended to support it.
testSubPoint
size_t testSubPoint()
Undocumented in source. Be warned that the author may not have intended to support it.
testZeropoint
size_t testZeropoint()
Undocumented in source. Be warned that the author may not have intended to support it.
testZeropointEncDec
size_t testZeropointEncDec()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString(PointGFp point)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

total_tests
size_t total_tests;
Undocumented in source.

Meta

License

Botan is released under the Simplified BSD License (see LICENSE.md)