VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-01 17:34:36 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-02 00:51:57 +0200
commite5728bd36e0a8319e3cbbb280cbd60f2e8d203b1 (patch)
tree7ead1fd1bf5833dc21374eed2909cd1b5bb21923
parentd8dd1accb4566f718d0ba035c803f201d3d78578 (diff)
downloadVeraCrypt-e5728bd36e0a8319e3cbbb280cbd60f2e8d203b1.tar.gz
VeraCrypt-e5728bd36e0a8319e3cbbb280cbd60f2e8d203b1.zip
Linux/MacOSX: align workspace stack variable in WhirlpoolTransform SSE code.
-rw-r--r--src/Crypto/Whirlpool.c2
1 files changed, 1 insertions, 1 deletions
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__
(