Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Curve25519 latest round of optimisations #31

Merged
merged 11 commits into from Jan 28, 2022
Merged

Curve25519 latest round of optimisations #31

merged 11 commits into from Jan 28, 2022

Conversation

vincenthz
Copy link
Collaborator

  • cleanup group elements (points) apis
  • finish cleaning operation
  • move to the better sha512 api
  • optimise negate
  • clear up scalar/bytes apis

unroll the sub operation into a dedicated neg
Rename group elements:
GeP3 -> Ge
GeP2 -> GePartial

add some const and new helper,
and cleanup transition between different types
Add some conversion from/to bytes
allow to cut a scalar by chunk of 4 bits
make scalarmult_base a method of Ge.
Start tidying up untyped lose end related to scalar
@vincenthz vincenthz merged commit 3581d0b into master Jan 28, 2022
@vincenthz vincenthz deleted the curve25519-opt branch January 28, 2022 04:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant