diff options
| author | J08nY | 2023-10-03 23:29:18 +0200 |
|---|---|---|
| committer | J08nY | 2023-10-03 23:29:18 +0200 |
| commit | 07026a90ba04e164fadeb40dc2ba80e7743abf00 (patch) | |
| tree | b7011593d35684a2bf3191f44b068e5ac8574f3d /test/test_impl.py | |
| parent | 7889941ce0c198113509738c1f0e84bb7826080f (diff) | |
| download | pyecsca-codegen-07026a90ba04e164fadeb40dc2ba80e7743abf00.tar.gz pyecsca-codegen-07026a90ba04e164fadeb40dc2ba80e7743abf00.tar.zst pyecsca-codegen-07026a90ba04e164fadeb40dc2ba80e7743abf00.zip | |
Add fixed width scalarmult.
Diffstat (limited to 'test/test_impl.py')
| -rw-r--r-- | test/test_impl.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/test_impl.py b/test/test_impl.py index 147792e..c125ce6 100644 --- a/test/test_impl.py +++ b/test/test_impl.py @@ -15,6 +15,7 @@ from pyecsca.ec.mult import ( AccumulationOrder, ProcessingDirection, ScalarMultiplier, + FixedWindowLTRMultiplier, ) from pyecsca.ec.signature import ECDSA_SHA1, SignatureResult @@ -148,6 +149,24 @@ def additional(request): ), id="SLI2", ), + pytest.param( + ( + FixedWindowLTRMultiplier, + "fixed", + ["add-1998-cmo", "dbl-1998-cmo"], + {"m": 4}, + ), + id="FIX1", + ), + pytest.param( + ( + FixedWindowLTRMultiplier, + "fixed", + ["add-1998-cmo", "dbl-1998-cmo"], + {"m": 5}, + ), + id="FIX2", + ), ], ) def target(request, additional, secp128r1) -> ImplTarget: |
