Tweak "ppc-crypto.h" include on Power7

This commit is contained in:
Jeffrey Walton 2017-10-13 02:23:39 -04:00
parent 3ffff750d7
commit 437eda09e0
No known key found for this signature in database
GPG Key ID: B36AB348921B1838

View File

@ -16,6 +16,7 @@
#if !defined(__ALTIVEC__)
# undef CRYPTOPP_ALTIVEC_AVAILABLE
#endif
#if !(defined(__CRYPTO__) || defined(_ARCH_PWR8) || defined(_ARCH_PWR9))
# undef CRYPTOPP_POWER8_AVAILABLE
# undef CRYPTOPP_POWER8_AES_AVAILABLE
@ -24,7 +25,7 @@
#endif
// TODO.. Change to CRYPTOPP_POWER8_CRYPTO_AVAILABLE
#if (CRYPTOPP_POWER8_AES_AVAILABLE)
#if defined(CRYPTOPP_ALTIVEC_AVAILABLE) || defined(CRYPTOPP_POWER8_AES_AVAILABLE)
# include "ppc-crypto.h"
#endif