From e5728bd36e0a8319e3cbbb280cbd60f2e8d203b1 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sat, 1 Jul 2017 17:34:36 +0200 Subject: [PATCH] Linux/MacOSX: align workspace stack variable in WhirlpoolTransform SSE code. --- src/Crypto/Whirlpool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Crypto/Whirlpool.c b/src/Crypto/Whirlpool.c index 308f4812..35188c63 100644 --- a/src/Crypto/Whirlpool.c +++ b/src/Crypto/Whirlpool.c @@ -647,7 +647,7 @@ void WhirlpoolTransform(uint64 *digest, const uint64 *block) { #ifdef __GNUC__ #if CRYPTOPP_BOOL_X64 - uint64 workspace[16]; + CRYPTOPP_ALIGN_DATA(16) uint64 workspace[16]; #endif __asm__ __volatile__ (