diff options
Diffstat (limited to 'test/ec/test_params.py')
| -rw-r--r-- | test/ec/test_params.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ec/test_params.py b/test/ec/test_params.py index 222698d..da293f4 100644 --- a/test/ec/test_params.py +++ b/test/ec/test_params.py @@ -1,14 +1,14 @@ from unittest import TestCase -from pyecsca.ec.curves import get_curve +from pyecsca.ec.curves import get_params from pyecsca.ec.point import InfinityPoint class DomainParameterTests(TestCase): def setUp(self): - self.secp128r1 = get_curve("secp128r1", "projective") - self.curve25519 = get_curve("curve25519", "xz") + self.secp128r1 = get_params("secg", "secp128r1", "projective") + self.curve25519 = get_params("other", "Curve25519", "xz") def test_is_neutral(self): assert self.secp128r1.is_neutral(InfinityPoint(self.secp128r1.curve.coordinate_model)) |
