VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Crypto.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-01-10 04:25:49 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-01-12 08:42:54 (GMT)
commite831198b3b0afbcd21cb9a4b1aef90fa8b198d69 (patch)
tree5be0a3402375068ef37ce2d5b6b084c5b01d2521 /src/Common/Crypto.h
parente3d5077939898f691dcecc965e77b81a3443b662 (diff)
downloadVeraCrypt-e831198b3b0afbcd21cb9a4b1aef90fa8b198d69.zip
VeraCrypt-e831198b3b0afbcd21cb9a4b1aef90fa8b198d69.tar.gz
Windows: Fix Streebog not recognized by /hash command line switch but making hash names matching more generic.
Diffstat (limited to 'src/Common/Crypto.h')
-rw-r--r--src/Common/Crypto.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Common/Crypto.h b/src/Common/Crypto.h
index 8e8bace..9aba0ea 100644
--- a/src/Common/Crypto.h
+++ b/src/Common/Crypto.h
@@ -363,7 +363,9 @@ BOOL EAIsModeSupported (int ea, int testedMode);
#ifndef TC_WINDOWS_BOOT
const wchar_t *HashGetName (int hash_algo_id);
-
+#ifdef _WIN32
+int HashGetIdByName (wchar_t *name);
+#endif
Hash *HashGet (int id);
void HashGetName2 (wchar_t *buf, int hashId);
BOOL HashIsDeprecated (int hashId);