Linux/MacOSX: align workspace stack variable in WhirlpoolTransform SSE code.

This commit is contained in:
Mounir IDRASSI 2017-07-01 17:34:36 +02:00
parent d8dd1accb4
commit e5728bd36e
No known key found for this signature in database
GPG Key ID: DD0C382D5FCFB8FC

View File

@ -647,7 +647,7 @@ void WhirlpoolTransform(uint64 *digest, const uint64 *block)
{ {
#ifdef __GNUC__ #ifdef __GNUC__
#if CRYPTOPP_BOOL_X64 #if CRYPTOPP_BOOL_X64
uint64 workspace[16]; CRYPTOPP_ALIGN_DATA(16) uint64 workspace[16];
#endif #endif
__asm__ __volatile__ __asm__ __volatile__
( (