python-ecdsa icon indicating copy to clipboard operation
python-ecdsa copied to clipboard

Make comparing single runs of speed.py meaningful

Open tomato42 opened this issue 4 years ago • 0 comments

As the code isn't using constant-time algorithms, to make comparisons between different scalar multiplication algorithms meaningful, we need to benchmark the exact same operations (same private keys, same messages, and same nonces) over and over.

Use 100 deterministically random keys to even out key-to-key or sig-to-sig (for verification) differences

tomato42 avatar Sep 08 '21 20:09 tomato42