1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2026-06-20 03:25:03 -05:00

Windows: align buffers used for keys to avoid issues when SSE used.

This commit is contained in:
Mounir IDRASSI
2016-08-09 23:32:44 +02:00
parent 07ee8c1069
commit b146e235f8
5 changed files with 62 additions and 8 deletions
+1 -1
View File
@@ -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;