summaryrefslogtreecommitdiff
path: root/gcm.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-08-24 19:17:21 -0400
committerJeffrey Walton <noloader@gmail.com>2017-08-24 19:17:21 -0400
commit5c6a32ba0f6abd6e4fbacf6b483ec2e36df63b15 (patch)
tree101dd7ae1809d71d5ce8a29836943c18fb2b8348 /gcm.cpp
parentb57f7f0ae01b0b076fbec13b63ce78ac3cc87b78 (diff)
downloadcryptopp-git-5c6a32ba0f6abd6e4fbacf6b483ec2e36df63b15.tar.gz
Support Base Implementation + SIMD implementation on Solaris (PR #461)
Diffstat (limited to 'gcm.cpp')
-rw-r--r--gcm.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcm.cpp b/gcm.cpp
index ac5026fd..2a7fd045 100644
--- a/gcm.cpp
+++ b/gcm.cpp
@@ -21,11 +21,11 @@
# undef CRYPTOPP_SSE2_ASM_AVAILABLE
#endif
-// SunCC 5.13 and below crash with AES-NI/CLMUL and C++{03|11}. Disable one or the other.
-// Also see http://github.com/weidai11/cryptopp/issues/226
-// #if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x513)
-// # undef CRYPTOPP_BOOL_AESNI_INTRINSICS_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
#include "gcm.h"
#include "cpu.h"