-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[EC] Use s2n-bignum point doubling for P-384 and P-521 (#2011)
Use s2n-bignum point doubling for P-384 and P-521. This brings the following performance improvements: ``` ----|---- P-384 ---| before | after | speedup | | ECDH | 4710 | 5256 | 1.11x | M1 | ECDSA sign | 12925 | 13322 | 1.03x | | ECDSA verify | 5358 | 5884 | 1.10x | ----|--------------|--------|-------|---------| | ECDH | 3569 | 3822 | 1.07x | GV3 | ECDSA sign | 9938 | 9915 | 1.00x | | ECDSA verify | 4156 | 4466 | 1.07x | ----|--------------|--------|-------|---------| | ECDH | 4374 | 4777 | 1.09x | x86 | ECDSA sign | 11982 | 12110 | 1.01x | | ECDSA verify | 5102 | 5693 | 1.11x | ----|--------------|--------|-------|---------| ----|---- P-521 ---| before | after | speedup | | ECDH | 3406 | 3623 | 1.06x | M1 | ECDSA sign | 7060 | 7097 | 1.00x | | ECDSA verify | 3199 | 3269 | 1.02x | ----|--------------|--------|-------|---------| | ECDH | 2297 | 2457 | 1.07x | GV3 | ECDSA sign | 5163 | 5188 | 1.00x | | ECDSA verify | 2346 | 2512 | 1.07x | ----|--------------|--------|-------|---------| | ECDH | 2981 | 3272 | 1.10x | x86 | ECDSA sign | 6550 | 6575 | 1.00x | | ECDSA verify | 3121 | 3352 | 1.07x | ----|--------------|--------|-------|---------| ``` The x86 processor is Intel(R) Xeon(R) Platinum 8488C.
- Loading branch information
Showing
8 changed files
with
1,481 additions
and
1,731 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
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.