diff options
Diffstat (limited to 'test/ec/test_point.py')
| -rw-r--r-- | test/ec/test_point.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ec/test_point.py b/test/ec/test_point.py index 0809edc..76e1103 100644 --- a/test/ec/test_point.py +++ b/test/ec/test_point.py @@ -1,7 +1,7 @@ from unittest import TestCase from pyecsca.ec.coordinates import AffineCoordinateModel -from pyecsca.ec.curves import get_curve +from pyecsca.ec.curves import get_params from pyecsca.ec.mod import Mod from pyecsca.ec.model import ShortWeierstrassModel, MontgomeryModel from pyecsca.ec.point import Point, InfinityPoint @@ -9,7 +9,7 @@ from pyecsca.ec.point import Point, InfinityPoint class PointTests(TestCase): def setUp(self): - self.secp128r1 = get_curve("secp128r1", "projective") + self.secp128r1 = get_params("secg", "secp128r1", "projective") self.base = self.secp128r1.generator self.coords = self.secp128r1.curve.coordinate_model self.affine = AffineCoordinateModel(ShortWeierstrassModel()) |
