-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[EC] P-256/384/521 s2n-bignum scalar multiplication (#2036)
For curves P-256/384/521 we use s2n-bignum implementation of scalar multiplication of an arbitrary point. This gives the following performance improvements (measurements in ops/s): ``` __Apple M1__| before | after | speedup | P-256 MUL | 27871 | 31607 | 1.13x | P-256 ECDH | 20804 | 22778 | 1.11x | P-384 MUL | 7245 | 8618 | 1.19x | P-384 ECDH | 5367 | 5986 | 1.11x | P-521 MUL | 5040 | 5806 | 1.15x | P-521 ECDH | 3696 | 4053 | 1.10x | ____Intel___| before | after | speedup | P-256 MUL | 21913 | 25650 | 1.17x | P-256 ECDH | 17188 | 19453 | 1.13x | P-384 MUL | 6554 | 7691 | 1.17x | P-384 ECDH | 4731 | 5321 | 1.12x | P-521 MUL | 4400 | 5151 | 1.17x | P-521 ECDH | 3192 | 3514 | 1.10x | ``` where Apple M1 is a M1 based macbook laptop, and Intel is Intel(R) Xeon(R) Platinum 8488C.
- Loading branch information
Showing
7 changed files
with
621 additions
and
600 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.