diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-02-28 20:24:35 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-03-01 00:35:40 +0100 |
commit | 954bfd45d05291930d0823b08ea5b84715f188af (patch) | |
tree | d797a84f888484d4670791a660a38a56b86cc550 /src/Common/Crypto.h | |
parent | ae5eb73f93eb092458da878c149fb2dde28cfdad (diff) | |
download | VeraCrypt-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.h | 1 |
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); |