Skip to content

field: fix Invert comment#48

Merged
FiloSottile merged 1 commit intoFiloSottile:mainfrom
AlexanderYastrebov:fix-invert-comment
Feb 5, 2025
Merged

field: fix Invert comment#48
FiloSottile merged 1 commit intoFiloSottile:mainfrom
AlexanderYastrebov:fix-invert-comment

Conversation

@AlexanderYastrebov
Copy link
Contributor

@AlexanderYastrebov AlexanderYastrebov commented Feb 2, 2025

Curve25519: new Diffie-Hellman speed records states that inverting an element is "a straightforward sequence of 254 squarings and 11 multiplications" which can also be verified by counting the number of [Element.Square] calls.

Fixes #39

[Curve25519: new Diffie-Hellman speed records](https://cr.yp.to/ecdh/curve25519-20060209.pdf)
states that inverting an element is "a straightforward sequence of 254 squarings and 11 multiplications"
which can also be verified by counting the number of [Element.Square] calls.
@FiloSottile
Copy link
Owner

Thank you!

@FiloSottile FiloSottile merged commit eef0650 into FiloSottile:main Feb 5, 2025
2 checks passed
@AlexanderYastrebov AlexanderYastrebov deleted the fix-invert-comment branch February 5, 2025 17:13
@AlexanderYastrebov
Copy link
Contributor Author

Thank you for this nice and clean library from which I've learned a lot!

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.

A trivial documentation update in field invert function

2 participants