Fix SunCC crash when compiling GCM
parent
2d5ed51ca9
commit
7c667bc71e
|
|
@ -19,9 +19,9 @@
|
||||||
# undef CRYPTOPP_SSE2_ASM_AVAILABLE
|
# undef CRYPTOPP_SSE2_ASM_AVAILABLE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// SunCC 12.3 and 12.4 crash in GCM_Reduce_CLMUL
|
// SunCC 12.3 - 12.5 crash in GCM_Reduce_CLMUL
|
||||||
// http://github.com/weidai11/cryptopp/issues/226
|
// http://github.com/weidai11/cryptopp/issues/226
|
||||||
#if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x5130)
|
#if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x5140)
|
||||||
# undef CRYPTOPP_CLMUL_AVAILABLE
|
# undef CRYPTOPP_CLMUL_AVAILABLE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
4
gcm.cpp
4
gcm.cpp
|
|
@ -21,9 +21,9 @@
|
||||||
# undef CRYPTOPP_SSE2_ASM_AVAILABLE
|
# undef CRYPTOPP_SSE2_ASM_AVAILABLE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// SunCC 12.3 and 12.4 crash in GCM_Reduce_CLMUL
|
// SunCC 12.3 - 12.5 crash in GCM_Reduce_CLMUL
|
||||||
// http://github.com/weidai11/cryptopp/issues/226
|
// http://github.com/weidai11/cryptopp/issues/226
|
||||||
#if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x5130)
|
#if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x5140)
|
||||||
# undef CRYPTOPP_CLMUL_AVAILABLE
|
# undef CRYPTOPP_CLMUL_AVAILABLE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue