-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conditionally enable Neon version of s2n-bignum implementations for m…
…ontgomery multiplications (#1164) This conditionally enables the the Neon versions of verified primitives of s2n-bignum when `CRYPTO_is_NEON_capable()` is true. The scalar versions of s2n-bignum primitives are already merged in b706d7e. The performance improvements of RSA signatures on Graviton 2 are as follows (Unit: ops/sec). | Bits | Operation | before b706d7e | after b706d7e | this patch | speedup vs. before b706d7e| | 2048 | RSA sign | 299.3 | 399 | 495.8 | 65.65% | | | verify (fresh key) | 10736.3 | 15491 | 18836.6 | 75.45% | | 3072 | RSA sign | 95.4 | 113.2 | 126.4 | 32.49% | | | verify (fresh key) | 4917.7 | 6001.7 | 6579.1 | 33.78% | | 4096 | RSA sign | 41.7 | 63.2 | 78.3 | 87.77% | | | verify (fresh key) | 2781.6 | 3451 | 3800.3 | 36.62% |
- Loading branch information
1 parent
3cf948b
commit b01b3d4
Showing
3 changed files
with
47 additions
and
10 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