diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-08-09 23:32:44 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-08-15 01:09:14 +0200 |
commit | b146e235f893b62befc413ff547ee7bfba0de5c9 (patch) | |
tree | 1eef3e740f58a07f204fdafa3efb48338e953532 /src/Mount | |
parent | 07ee8c10691d05e4e290ecdaa634ad5311b3cbb1 (diff) | |
download | VeraCrypt-b146e235f893b62befc413ff547ee7bfba0de5c9.tar.gz VeraCrypt-b146e235f893b62befc413ff547ee7bfba0de5c9.zip |
Windows: align buffers used for keys to avoid issues when SSE used.
Diffstat (limited to 'src/Mount')
-rw-r--r-- | src/Mount/Mount.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Mount/Mount.c b/src/Mount/Mount.c index a7e6da51..14b7eb54 100644 --- a/src/Mount/Mount.c +++ b/src/Mount/Mount.c @@ -9727,8 +9727,8 @@ int BackupVolumeHeader (HWND hwndDlg, BOOL bRequireConfirmation, const wchar_t * OpenVolumeContext hiddenVolume; Password hiddenVolPassword; int hiddenVolPkcs5 = 0, hiddenVolPim = 0; - byte temporaryKey[MASTER_KEYDATA_SIZE]; - byte originalK2[MASTER_KEYDATA_SIZE]; + CRYPTOPP_ALIGN_DATA(16) byte temporaryKey[MASTER_KEYDATA_SIZE]; + CRYPTOPP_ALIGN_DATA(16) byte originalK2[MASTER_KEYDATA_SIZE]; int EffectiveVolumePkcs5 = CmdVolumePkcs5; int EffectiveVolumePim = CmdVolumePim; |