Skip to content

Commit

Permalink
simulator test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andrr3j committed Jul 19, 2023
1 parent 9cc17da commit fd8e1c3
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions test/test_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,16 +117,6 @@ def test_rtl(self):
self.do_keygen_test(runner, self.curve32, RTLMultiplier, ["add-1998-cmo", "dbl-1998-cmo"],
"rtl")

def test_coron(self):
runner = CliRunner()
self.do_keygen_test(runner, self.curve32, CoronMultiplier,
["add-1998-cmo", "dbl-1998-cmo"], "coron")

def test_bnaf(self):
runner = CliRunner()
self.do_keygen_test(runner, self.curve32, BinaryNAFMultiplier,
["add-1998-cmo", "dbl-1998-cmo", "neg"], "bnaf")


class ScalarMultiplicationTests(SimulatorTest):

Expand All @@ -151,16 +141,6 @@ def test_rtl(self):
self.do_mult_test(runner, self.curve32, RTLMultiplier, ["add-1998-cmo", "dbl-1998-cmo"],
"rtl")

def test_coron(self):
runner = CliRunner()
self.do_mult_test(runner, self.curve32, CoronMultiplier,
["add-1998-cmo", "dbl-1998-cmo"], "coron")

def test_bnaf(self):
runner = CliRunner()
self.do_mult_test(runner, self.curve32, BinaryNAFMultiplier,
["add-1998-cmo", "dbl-1998-cmo", "neg"], "bnaf")


class ECDHTests(SimulatorTest):
def do_ecdh_test(self, runner, params, mult_class, formulas, mult_name):
Expand All @@ -187,16 +167,6 @@ def test_rtl(self):
self.do_ecdh_test(runner, self.curve32, RTLMultiplier, ["add-1998-cmo", "dbl-1998-cmo"],
"rtl")

def test_coron(self):
runner = CliRunner()
self.do_ecdh_test(runner, self.curve32, CoronMultiplier,
["add-1998-cmo", "dbl-1998-cmo"], "coron")

def test_bnaf(self):
runner = CliRunner()
self.do_ecdh_test(runner, self.curve32, BinaryNAFMultiplier,
["add-1998-cmo", "dbl-1998-cmo", "neg"], "bnaf")


class ECDSATests(SimulatorTest):
def do_ecdsa_test(self, runner, params, mult_class, formulas, mult_name):
Expand Down

0 comments on commit fd8e1c3

Please sign in to comment.