diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2024-11-16 17:38:25 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2024-11-16 17:38:25 +0100 |
commit | a588b20975b18b56b513e12a1fa312d6a97e9396 (patch) | |
tree | 72fd2a97d847399685c50ca7e2ff17e5982a72c7 | |
parent | 9c9870b1038ca4c91f7cce556e5f16f783a309fc (diff) | |
download | VeraCrypt-a588b20975b18b56b513e12a1fa312d6a97e9396.tar.gz VeraCrypt-a588b20975b18b56b513e12a1fa312d6a97e9396.zip |
Windows: Fix driver crash caused by 32-bit leftover code in derive_key_blake2s function
-rw-r--r-- | src/Common/Pkcs5.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Common/Pkcs5.c b/src/Common/Pkcs5.c index ef4d0c68..6cffddf2 100644 --- a/src/Common/Pkcs5.c +++ b/src/Common/Pkcs5.c @@ -683,9 +683,6 @@ void derive_key_blake2s (const unsigned char *pwd, int pwd_len, const unsigned c XSTATE_SAVE SaveState; if (IsCpuIntel() && HasSAVX()) saveStatus = KeSaveExtendedProcessorStateVC(XSTATE_MASK_GSSE, &SaveState); - KFLOATING_SAVE floatingPointState; - if (HasSSE2()) - saveStatus = KeSaveFloatingPointState (&floatingPointState); #endif /* If the password is longer than the hash algorithm block size, let pwd = blake2s(pwd), as per HMAC specifications. */ |