diff options
| author | J08nY | 2020-02-19 16:45:16 +0100 |
|---|---|---|
| committer | J08nY | 2020-02-19 16:45:16 +0100 |
| commit | 9788c9af717a49f5e52d6db85afdcd940bb3578d (patch) | |
| tree | 308aa803db524802336cbf244ec8e73e7585d638 /test/ec/test_params.py | |
| parent | dacf1e8950031ed01e5d3da0ad0934a209de0a41 (diff) | |
| download | pyecsca-9788c9af717a49f5e52d6db85afdcd940bb3578d.tar.gz pyecsca-9788c9af717a49f5e52d6db85afdcd940bb3578d.tar.zst pyecsca-9788c9af717a49f5e52d6db85afdcd940bb3578d.zip | |
Fix LTR multiplier, add affine formula stuff.
Diffstat (limited to '')
| -rw-r--r-- | test/ec/test_params.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ec/test_params.py b/test/ec/test_params.py index da293f4..b4d55ee 100644 --- a/test/ec/test_params.py +++ b/test/ec/test_params.py @@ -17,3 +17,6 @@ class DomainParameterTests(TestCase): self.assertEqual(self.secp128r1, self.secp128r1) self.assertNotEqual(self.secp128r1, self.curve25519) self.assertNotEqual(self.secp128r1, None) + + def test_str(self): + self.assertEqual(str(self.secp128r1), "DomainParameters(secg/secp128r1)") |
