work around GCC Bug 31690
parent
8565900724
commit
b249126f69
5
vmac.cpp
5
vmac.cpp
|
|
@ -25,8 +25,13 @@ static const word64 mpoly = W64LIT(0x1fffffff1fffffff); /* Poly key mask */
|
||||||
#undef const
|
#undef const
|
||||||
#endif
|
#endif
|
||||||
#if VMAC_BOOL_WORD128
|
#if VMAC_BOOL_WORD128
|
||||||
|
#ifdef __powerpc__
|
||||||
|
// workaround GCC Bug 31690: ICE with const __uint128_t and C++ front-end
|
||||||
|
#define m126 ((word128(m62)<<64)|m64)
|
||||||
|
#else
|
||||||
static const word128 m126 = (word128(m62)<<64)|m64; /* 126-bit mask */
|
static const word128 m126 = (word128(m62)<<64)|m64; /* 126-bit mask */
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
void VMAC_Base::UncheckedSetKey(const byte *userKey, unsigned int keylength, const NameValuePairs ¶ms)
|
void VMAC_Base::UncheckedSetKey(const byte *userKey, unsigned int keylength, const NameValuePairs ¶ms)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue