| org.bouncycastle.math.ec.test.ECPointTest
ECPointTest | public class ECPointTest extends TestCase (Code) | | Test class for
org.bouncycastle.math.ec.ECPoint ECPoint . All
literature values are taken from "Guide to elliptic curve cryptography",
Darrel Hankerson, Alfred J. Menezes, Scott Vanstone, 2004, Springer-Verlag
New York, Inc.
|
Inner Class :public static class Fp | |
Inner Class :public static class F2m | |
Method Summary | |
public void | setUp() | public static Test | suite() | public void | testAdd() Calls implTestAdd() for Fp and
F2m . | public void | testAddSubtractMultiplySimple() Calls implTestAddSubtract() for literature values, both
for Fp and F2m . | public void | testAddSubtractMultiplyTwiceEncoding() Calls implTestAddSubtract() ,
implTestMultiply and implTestEncoding for
the standard elliptic curves as given in SECNamedCurves . | public void | testAllPoints() Calls implTestAllPoints() for the small literature curves,
both for Fp and F2m . | public void | testPointCreationConsistency() Tests, if inconsistent points can be created, i.e. | public void | testTwice() Calls implTestTwice() for Fp and
F2m . |
setUp | public void setUp()(Code) | | |
suite | public static Test suite()(Code) | | |
testAdd | public void testAdd()(Code) | | Calls implTestAdd() for Fp and
F2m .
|
testAddSubtractMultiplySimple | public void testAddSubtractMultiplySimple()(Code) | | Calls implTestAddSubtract() for literature values, both
for Fp and F2m .
|
testAddSubtractMultiplyTwiceEncoding | public void testAddSubtractMultiplyTwiceEncoding()(Code) | | Calls implTestAddSubtract() ,
implTestMultiply and implTestEncoding for
the standard elliptic curves as given in SECNamedCurves .
|
testAllPoints | public void testAllPoints()(Code) | | Calls implTestAllPoints() for the small literature curves,
both for Fp and F2m .
|
testPointCreationConsistency | public void testPointCreationConsistency()(Code) | | Tests, if inconsistent points can be created, i.e. points with exactly
one null coordinate (not permitted).
|
testTwice | public void testTwice()(Code) | | Calls implTestTwice() for Fp and
F2m .
|
|
|