summaryrefslogtreecommitdiff
path: root/simeck.h
diff options
context:
space:
mode:
Diffstat (limited to 'simeck.h')
-rw-r--r--simeck.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/simeck.h b/simeck.h
index 74914945..caebf859 100644
--- a/simeck.h
+++ b/simeck.h
@@ -21,6 +21,12 @@
# define CRYPTOPP_SIMECK_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_SIMECK_ADVANCED_PROCESS_BLOCKS
+#endif
+
NAMESPACE_BEGIN(CryptoPP)
/// \brief SIMECK block cipher information