diff options
| author | J08nY | 2023-02-12 23:32:18 +0100 |
|---|---|---|
| committer | J08nY | 2023-02-12 23:32:18 +0100 |
| commit | 88edf0ca2efa0062e2c766f83c0b297987875c9e (patch) | |
| tree | f50360f9734266500d777e0b7491a16919b73cdd /test/ec | |
| parent | f11268d7cb7f8749312c3d85f37451ebf84649ae (diff) | |
| download | pyecsca-88edf0ca2efa0062e2c766f83c0b297987875c9e.tar.gz pyecsca-88edf0ca2efa0062e2c766f83c0b297987875c9e.tar.zst pyecsca-88edf0ca2efa0062e2c766f83c0b297987875c9e.zip | |
Cache unparsed assumptions in formula.
Diffstat (limited to 'test/ec')
| -rwxr-xr-x | test/ec/perf_formula.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ec/perf_formula.py b/test/ec/perf_formula.py index b49daab..baa6347 100755 --- a/test/ec/perf_formula.py +++ b/test/ec/perf_formula.py @@ -31,7 +31,7 @@ def main(profiler, mod, operations, directory): add = coords.formulas["add-2016-rcb"] dbl = coords.formulas["dbl-2016-rcb"] click.echo( - f"Profiling {operations} {p256.curve.prime.bit_length()}-bit doubling formula executions..." + f"Profiling {operations} {p256.curve.prime.bit_length()}-bit doubling formula (dbl2016rcb) executions..." ) one_point = p256.generator with Profiler( @@ -40,7 +40,7 @@ def main(profiler, mod, operations, directory): for _ in range(operations): one_point = dbl(p256.curve.prime, one_point, **p256.curve.parameters)[0] click.echo( - f"Profiling {operations} {p256.curve.prime.bit_length()}-bit addition formula executions..." + f"Profiling {operations} {p256.curve.prime.bit_length()}-bit addition formula (add2016rcb) executions..." ) other_point = p256.generator with Profiler( @@ -54,7 +54,7 @@ def main(profiler, mod, operations, directory): ecoords = ed25519.curve.coordinate_model dblg = ecoords.formulas["mdbl-2008-hwcd"] click.echo( - f"Profiling {operations} {ed25519.curve.prime.bit_length()}-bit doubling formula executions (with assumption)..." + f"Profiling {operations} {ed25519.curve.prime.bit_length()}-bit doubling formula (mdbl2008hwcd) executions (with assumption)..." ) eone_point = ed25519.generator with Profiler( |
