VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Crypto.h
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.h
parentae5eb73f93eb092458da878c149fb2dde28cfdad (diff)
downloadVeraCrypt-954bfd45d05291930d0823b08ea5b84715f188af.tar.gz
VeraCrypt-954bfd45d05291930d0823b08ea5b84715f188af.zip
Windows Driver: Implement RAM encryption for cached passwords
Diffstat (limited to 'src/Common/Crypto.h')
-rw-r--r--src/Common/Crypto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Common/Crypto.h b/src/Common/Crypto.h
index 0951b20b..5a8724f6 100644
--- a/src/Common/Crypto.h
+++ b/src/Common/Crypto.h
@@ -388,6 +388,7 @@ void DecryptBuffer (unsigned __int8 *buf, TC_LARGEST_COMPILER_UINT len, PCRYPTO_
#if defined(_WIN64) && !defined (_UEFI) && defined(TC_WINDOWS_DRIVER)
BOOL InitializeSecurityParameters(GetRandSeedFn rngCallback);
void ClearSecurityParameters();
+void VcProtectMemory (uint64 encID, unsigned char* pbData, size_t cbData, unsigned char* pbData2, size_t cbData2);
uint64 VcGetEncryptionID (PCRYPTO_INFO pCryptoInfo);
void VcProtectKeys (PCRYPTO_INFO pCryptoInfo, uint64 encID);
void VcUnprotectKeys (PCRYPTO_INFO pCryptoInfo, uint64 encID);