VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Crypto.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-02-28 20:24:35 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-03-01 00:35:40 +0100
commit954bfd45d05291930d0823b08ea5b84715f188af (patch)
treed797a84f888484d4670791a660a38a56b86cc550 /src/Common/Crypto.c
parentae5eb73f93eb092458da878c149fb2dde28cfdad (diff)
downloadVeraCrypt-954bfd45d05291930d0823b08ea5b84715f188af.tar.gz
VeraCrypt-954bfd45d05291930d0823b08ea5b84715f188af.zip
Windows Driver: Implement RAM encryption for cached passwords
Diffstat (limited to 'src/Common/Crypto.c')
-rw-r--r--src/Common/Crypto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Common/Crypto.c b/src/Common/Crypto.c
index d4184a53..a88f19a4 100644
--- a/src/Common/Crypto.c
+++ b/src/Common/Crypto.c
@@ -1388,9 +1388,9 @@ void ClearSecurityParameters()
}
#ifdef TC_WINDOWS_DRIVER
-static void VcProtectMemory (uint64 encID, unsigned char* pbData, size_t cbData, unsigned char* pbData2, size_t cbData2)
+void VcProtectMemory (uint64 encID, unsigned char* pbData, size_t cbData, unsigned char* pbData2, size_t cbData2)
#else
-static void VcProtectMemory (uint64 encID, unsigned char* pbData, size_t cbData,
+void VcProtectMemory (uint64 encID, unsigned char* pbData, size_t cbData,
unsigned char* pbData2, size_t cbData2,
unsigned char* pbData3, size_t cbData3,
unsigned char* pbData4, size_t cbData4)