--- truecrypt/common/crypto.c 2018/04/24 17:02:28 1.1.1.18 +++ truecrypt/common/crypto.c 2018/04/24 17:04:28 1.1.1.19 @@ -5,7 +5,7 @@ Agreement for Encryption for the Masses'. Modifications and additions to the original source code (contained in this file) and all other portions of this file are Copyright (c) 2003-2009 TrueCrypt Foundation and are governed - by the TrueCrypt License 2.7 the full text of which is contained in the + by the TrueCrypt License 2.8 the full text of which is contained in the file License.txt included in TrueCrypt binary and source code distribution packages. */ @@ -1255,7 +1255,7 @@ uint64 DataUnit2LRWIndex (uint64 dataUni // buf: data to be encrypted // unitNo: sequential number of the data unit with which the buffer starts // nbrUnits: number of data units in the buffer -void EncryptDataUnits (unsigned __int8 *buf, const UINT64_STRUCT *structUnitNo, TC_LARGEST_COMPILER_UINT nbrUnits, PCRYPTO_INFO ci) +void EncryptDataUnits (unsigned __int8 *buf, const UINT64_STRUCT *structUnitNo, uint32 nbrUnits, PCRYPTO_INFO ci) #ifndef TC_WINDOWS_BOOT { EncryptionThreadPoolDoWork (EncryptDataUnitsWork, buf, structUnitNo, nbrUnits, ci); @@ -1478,7 +1478,7 @@ void DecryptBuffer (unsigned __int8 *buf // buf: data to be decrypted // unitNo: sequential number of the data unit with which the buffer starts // nbrUnits: number of data units in the buffer -void DecryptDataUnits (unsigned __int8 *buf, const UINT64_STRUCT *structUnitNo, TC_LARGEST_COMPILER_UINT nbrUnits, PCRYPTO_INFO ci) +void DecryptDataUnits (unsigned __int8 *buf, const UINT64_STRUCT *structUnitNo, uint32 nbrUnits, PCRYPTO_INFO ci) #ifndef TC_WINDOWS_BOOT { EncryptionThreadPoolDoWork (DecryptDataUnitsWork, buf, structUnitNo, nbrUnits, ci);