VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Fat.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-08-09 23:32:44 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-08-15 01:09:14 +0200
commitb146e235f893b62befc413ff547ee7bfba0de5c9 (patch)
tree1eef3e740f58a07f204fdafa3efb48338e953532 /src/Common/Fat.c
parent07ee8c10691d05e4e290ecdaa634ad5311b3cbb1 (diff)
downloadVeraCrypt-b146e235f893b62befc413ff547ee7bfba0de5c9.tar.gz
VeraCrypt-b146e235f893b62befc413ff547ee7bfba0de5c9.zip
Windows: align buffers used for keys to avoid issues when SSE used.
Diffstat (limited to 'src/Common/Fat.c')
-rw-r--r--src/Common/Fat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/Fat.c b/src/Common/Fat.c
index fb7dc1ff..7625e869 100644
--- a/src/Common/Fat.c
+++ b/src/Common/Fat.c
@@ -262,7 +262,7 @@ FormatFat (void* hwndDlgPtr, unsigned __int64 startSector, fatparams * ft, void
unsigned __int64 nSecNo = startSector;
int x, n;
int retVal;
- char temporaryKey[MASTER_KEYDATA_SIZE];
+ CRYPTOPP_ALIGN_DATA(16) char temporaryKey[MASTER_KEYDATA_SIZE];
HWND hwndDlg = (HWND) hwndDlgPtr;
LARGE_INTEGER startOffset;