Skip to content

Conversation

tomato42
Copy link
Member

  • include verification of signatures with no precomputed point multiples in speed.py report
  • speed up the signature verify operation by using NAF in the mul_add() method by about 4-5%

@tomato42 tomato42 added the feature functionality to be implemented label Nov 24, 2020
@tomato42 tomato42 self-assigned this Nov 24, 2020
@coveralls
Copy link

coveralls commented Nov 25, 2020

Coverage Status

Coverage increased (+0.07%) to 98.36% when pulling 351c40b on tomato42:speed-single into 86718ad on warner:master.

@tomato42 tomato42 force-pushed the speed-single branch 2 times, most recently from f9ea806 to 015d158 Compare November 25, 2020 22:59
while we were using the more clever algorithm, with addition of two
points at the time when possible, it's possible to do it slightly
faster by performing something similar but with 2-ary NAF

this speeds up single-shot verify by about 5% with python int() and by
about 4% with gmpy's mpz()
@tomato42
Copy link
Member Author

Copy link

@simo5 simo5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but I really just gave a superficial look.

@tomato42
Copy link
Member Author

@simo5 that's fine, thanks!

@tomato42 tomato42 merged commit 90bb8ae into tlsfuzzer:master Nov 30, 2020
@tomato42 tomato42 deleted the speed-single branch November 30, 2020 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature functionality to be implemented
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants