VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Crypto
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-01 15:34:36 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-01 22:51:57 (GMT)
commite5728bd36e0a8319e3cbbb280cbd60f2e8d203b1 (patch)
tree7ead1fd1bf5833dc21374eed2909cd1b5bb21923 /src/Crypto
parentd8dd1accb4566f718d0ba035c803f201d3d78578 (diff)
downloadVeraCrypt-e5728bd36e0a8319e3cbbb280cbd60f2e8d203b1.zip
VeraCrypt-e5728bd36e0a8319e3cbbb280cbd60f2e8d203b1.tar.gz
Linux/MacOSX: align workspace stack variable in WhirlpoolTransform SSE code.
Diffstat (limited to 'src/Crypto')
-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 308f481..35188c6 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__
(