More SunStudio/SunCC workarounds
parent
2f83777e9b
commit
f165d1822d
8
config.h
8
config.h
|
|
@ -585,7 +585,13 @@ NAMESPACE_END
|
|||
# endif
|
||||
#endif
|
||||
|
||||
// Fixup for SunCC 12.2-12.6. Compiler crash on GCM_Reduce_CLMUL and friends.
|
||||
// Fixup for SunCC 12.1-12.4. Bad code generation in AES_Encrypt and friends.
|
||||
// http://github.com/weidai11/cryptopp/issues/226
|
||||
#if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x5130)
|
||||
# undef CRYPTOPP_AESNI_AVAILABLE
|
||||
#endif
|
||||
|
||||
// Fixup for SunCC 12.1-12.6. Compiler crash on GCM_Reduce_CLMUL and friends.
|
||||
// http://github.com/weidai11/cryptopp/issues/226
|
||||
#if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x5150)
|
||||
# undef CRYPTOPP_CLMUL_AVAILABLE
|
||||
|
|
|
|||
6
simon.h
6
simon.h
|
|
@ -25,6 +25,12 @@
|
|||
# define CRYPTOPP_SIMON128_ADVANCED_PROCESS_BLOCKS 1
|
||||
#endif
|
||||
|
||||
// Yet another SunStudio/SunCC workaround
|
||||
#if defined(__SUNPRO_CC)
|
||||
# undef CRYPTOPP_SIMON64_ADVANCED_PROCESS_BLOCKS
|
||||
# undef CRYPTOPP_SIMON128_ADVANCED_PROCESS_BLOCKS
|
||||
#endif
|
||||
|
||||
NAMESPACE_BEGIN(CryptoPP)
|
||||
|
||||
/// \brief SIMON block cipher information
|
||||
|
|
|
|||
6
speck.h
6
speck.h
|
|
@ -25,6 +25,12 @@
|
|||
# define CRYPTOPP_SPECK128_ADVANCED_PROCESS_BLOCKS 1
|
||||
#endif
|
||||
|
||||
// Yet another SunStudio/SunCC workaround
|
||||
#if defined(__SUNPRO_CC)
|
||||
# undef CRYPTOPP_SPECK64_ADVANCED_PROCESS_BLOCKS
|
||||
# undef CRYPTOPP_SPECK128_ADVANCED_PROCESS_BLOCKS
|
||||
#endif
|
||||
|
||||
NAMESPACE_BEGIN(CryptoPP)
|
||||
|
||||
/// \brief SPECK block cipher information
|
||||
|
|
|
|||
Loading…
Reference in New Issue