diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-07-16 12:21:44 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-07-16 12:21:44 -0400 |
commit | b91491da4f59ab007e3443f15c9beec57da754ea (patch) | |
tree | abc8bdaa7f7d5068ecefdd62c68e3b2e01144207 /cham.h | |
parent | 14dd03544e198613264127019b03c0059e24463b (diff) | |
download | cryptopp-git-b91491da4f59ab007e3443f15c9beec57da754ea.tar.gz |
Fix Solaris i386 compile of CHAM and LEA for SunStudio 12.3 and below
Diffstat (limited to 'cham.h')
-rw-r--r-- | cham.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -19,6 +19,12 @@ # define CRYPTOPP_CHAM_ADVANCED_PROCESS_BLOCKS 1
#endif
+// Yet another SunStudio/SunCC workaround. Failed self tests
+// in SSE code paths on i386 for SunStudio 12.3 and below.
+#if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x5120)
+# undef CRYPTOPP_CHAM_ADVANCED_PROCESS_BLOCKS
+#endif
+
NAMESPACE_BEGIN(CryptoPP)
/// \brief CHAM block cipher information
|