summaryrefslogtreecommitdiff
path: root/lea.h
diff options
context:
space:
mode:
Diffstat (limited to 'lea.h')
-rw-r--r--lea.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lea.h b/lea.h
index 1c4019c9..a2fb8bb2 100644
--- a/lea.h
+++ b/lea.h
@@ -19,6 +19,12 @@
# define CRYPTOPP_LEA_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_LEA_ADVANCED_PROCESS_BLOCKS
+#endif
+
NAMESPACE_BEGIN(CryptoPP)
/// \brief LEA block cipher information