forked from aws/aws-lc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ppc64le: support OPENSSL_ppccap ENV variable (aws#1569)
### Issues: CryptoAlg-2425 ### Description of changes: * Architectures for which we have custom assembly implementations need to provide a mechanism for the environment to alter the CPU capabilities that are detected at runtime. * This PR adds support for setting a `OPENSSL_ppccap` environment variable for this purpose. ### Testing: * Without setting the environment variable: 55ms ``` [ RUN ] AESTest.TestVectors [ OK ] AESTest.TestVectors (55 ms) ``` * After setting `export OPENSSL_ppccap=0x0000000000000000`: 216ms ``` [ RUN ] AESTest.TestVectors [ OK ] AESTest.TestVectors (216 ms) ``` By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.
- Loading branch information
Showing
2 changed files
with
84 additions
and
8 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