diff options
| author | Jeffrey Walton <noloader@gmail.com> | 2017-08-24 19:17:21 -0400 |
|---|---|---|
| committer | Jeffrey Walton <noloader@gmail.com> | 2017-08-24 19:17:21 -0400 |
| commit | 5c6a32ba0f6abd6e4fbacf6b483ec2e36df63b15 (patch) | |
| tree | 101dd7ae1809d71d5ce8a29836943c18fb2b8348 /gcm-simd.cpp | |
| parent | b57f7f0ae01b0b076fbec13b63ce78ac3cc87b78 (diff) | |
| download | cryptopp-git-5c6a32ba0f6abd6e4fbacf6b483ec2e36df63b15.tar.gz | |
Support Base Implementation + SIMD implementation on Solaris (PR #461)
Diffstat (limited to 'gcm-simd.cpp')
| -rw-r--r-- | gcm-simd.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcm-simd.cpp b/gcm-simd.cpp index 30fdb7f2..626dabfa 100644 --- a/gcm-simd.cpp +++ b/gcm-simd.cpp @@ -19,6 +19,12 @@ # undef CRYPTOPP_SSE2_ASM_AVAILABLE
#endif
+// SunCC 12.3 and 12.4 crash in GCM_Reduce_CLMUL
+// http://github.com/weidai11/cryptopp/issues/226
+#if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x5130)
+# undef CRYPTOPP_CLMUL_AVAILABLE
+#endif
+
// Clang and GCC hoops...
#if !(defined(__ARM_FEATURE_CRYPTO) || defined(_MSC_VER))
# undef CRYPTOPP_ARM_PMULL_AVAILABLE
|
