mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Windows: Fix driver crash caused by 32-bit leftover code in derive_key_blake2s function
This commit is contained in:
@@ -683,9 +683,6 @@ void derive_key_blake2s (const unsigned char *pwd, int pwd_len, const unsigned c
|
|||||||
XSTATE_SAVE SaveState;
|
XSTATE_SAVE SaveState;
|
||||||
if (IsCpuIntel() && HasSAVX())
|
if (IsCpuIntel() && HasSAVX())
|
||||||
saveStatus = KeSaveExtendedProcessorStateVC(XSTATE_MASK_GSSE, &SaveState);
|
saveStatus = KeSaveExtendedProcessorStateVC(XSTATE_MASK_GSSE, &SaveState);
|
||||||
KFLOATING_SAVE floatingPointState;
|
|
||||||
if (HasSSE2())
|
|
||||||
saveStatus = KeSaveFloatingPointState (&floatingPointState);
|
|
||||||
#endif
|
#endif
|
||||||
/* If the password is longer than the hash algorithm block size,
|
/* If the password is longer than the hash algorithm block size,
|
||||||
let pwd = blake2s(pwd), as per HMAC specifications. */
|
let pwd = blake2s(pwd), as per HMAC specifications. */
|
||||||
|
|||||||
Reference in New Issue
Block a user