diff options
| author | J08nY | 2019-03-13 23:34:48 +0100 |
|---|---|---|
| committer | J08nY | 2019-03-21 11:00:14 +0100 |
| commit | 817171e51bfc0faee0ea53ce28342a89a1307d16 (patch) | |
| tree | a877a091a53a1014ada49346e7545417b43063f4 /test/ec/test_mult.py | |
| parent | a9b7c026b0714bfa0aacf504e6b9dde65fccc2aa (diff) | |
| download | pyecsca-817171e51bfc0faee0ea53ce28342a89a1307d16.tar.gz pyecsca-817171e51bfc0faee0ea53ce28342a89a1307d16.tar.zst pyecsca-817171e51bfc0faee0ea53ce28342a89a1307d16.zip | |
Diffstat (limited to 'test/ec/test_mult.py')
| -rw-r--r-- | test/ec/test_mult.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ec/test_mult.py b/test/ec/test_mult.py index 2914916..82ed9eb 100644 --- a/test/ec/test_mult.py +++ b/test/ec/test_mult.py @@ -57,6 +57,7 @@ class ScalarMultiplierTests(TestCase): def test_ladder(self): mult = LadderMultiplier(self.curve25519, self.coords25519.formulas["ladd-1987-m"], + self.coords25519.formulas["dbl-1987-m"], self.coords25519.formulas["scale"]) res = mult.multiply(15, self.base25519) other = mult.multiply(5, self.base25519) @@ -74,6 +75,7 @@ class ScalarMultiplierTests(TestCase): def test_ladder_differential(self): ladder = LadderMultiplier(self.curve25519, self.coords25519.formulas["ladd-1987-m"], + self.coords25519.formulas["dbl-1987-m"], self.coords25519.formulas["scale"]) # TODO: fix this differential = SimpleLadderMultiplier(self.curve25519, |
