commit | 5746add69c5e1466713b7edf993a60a39ddf2c45 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@google.com> | Fri Nov 29 05:54:00 2019 -0500 |
committer | Adam Langley <agl@google.com> | Mon Dec 02 21:48:21 2019 +0000 |
tree | 2e361b21c1fad0e0c02faeb6d3ef9de0f8b1227a | |
parent | 98ba3bd6e75c01fc6546b008b8797767302abf2b [diff] |
Fix EVP_has_aes_hardware on ppc64le. Change-Id: I5e0bc02e591b86ccc30d35eeed2c7065910dd24a Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/39005 Commit-Queue: Adam Langley <agl@google.com> Reviewed-by: Adam Langley <agl@google.com>
diff --git a/crypto/fipsmodule/cipher/e_aes.c b/crypto/fipsmodule/cipher/e_aes.c index 2b30fb0..c6dd973 100644 --- a/crypto/fipsmodule/cipher/e_aes.c +++ b/crypto/fipsmodule/cipher/e_aes.c
@@ -1296,6 +1296,8 @@ return hwaes_capable() && crypto_gcm_clmul_enabled(); #elif defined(OPENSSL_ARM) || defined(OPENSSL_AARCH64) return hwaes_capable() && CRYPTO_is_ARMv8_PMULL_capable(); +#elif defined(OPENSSL_PPC64LE) + return CRYPTO_is_PPC64LE_vcrypto_capable(); #else return 0; #endif