aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/ec
diff options
context:
space:
mode:
authorJ08nY2019-11-29 20:22:20 +0100
committerJ08nY2019-11-29 20:22:20 +0100
commitf55dcac64125508d0454d17fe54ab87bb7816930 (patch)
tree48cd5b22b6513ea697e6cc7541be41b2564d5a29 /test/ec
parente5605f768f407341c3eda6a5d7d3a4a5d63483c9 (diff)
downloadpyecsca-f55dcac64125508d0454d17fe54ab87bb7816930.tar.gz
pyecsca-f55dcac64125508d0454d17fe54ab87bb7816930.tar.zst
pyecsca-f55dcac64125508d0454d17fe54ab87bb7816930.zip
More utility to formulas.
Diffstat (limited to 'test/ec')
-rw-r--r--test/ec/test_mult.py2
-rw-r--r--test/ec/test_point.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/ec/test_mult.py b/test/ec/test_mult.py
index 2d167f3..c72f370 100644
--- a/test/ec/test_mult.py
+++ b/test/ec/test_mult.py
@@ -3,7 +3,7 @@ from unittest import TestCase
from pyecsca.ec.mult import (LTRMultiplier, RTLMultiplier, LadderMultiplier, BinaryNAFMultiplier,
WindowNAFMultiplier, SimpleLadderMultiplier, CoronMultiplier)
from pyecsca.ec.point import InfinityPoint
-from test.ec.curves import get_secp128r1, get_curve25519
+from .curves import get_secp128r1, get_curve25519
class ScalarMultiplierTests(TestCase):
diff --git a/test/ec/test_point.py b/test/ec/test_point.py
index d85ed4a..c80d4cc 100644
--- a/test/ec/test_point.py
+++ b/test/ec/test_point.py
@@ -4,7 +4,7 @@ from pyecsca.ec.coordinates import AffineCoordinateModel
from pyecsca.ec.mod import Mod
from pyecsca.ec.model import ShortWeierstrassModel, MontgomeryModel
from pyecsca.ec.point import Point, InfinityPoint
-from test.ec.curves import get_secp128r1
+from .curves import get_secp128r1
class PointTests(TestCase):