From 954bfd45d05291930d0823b08ea5b84715f188af Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Thu, 28 Feb 2019 20:24:35 +0100 Subject: Windows Driver: Implement RAM encryption for cached passwords --- src/Common/Crypto.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Common/Crypto.h') 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); -- cgit v1.2.3