#include <SecureHash.h>
|
| static CORE_API void | HashBuffer (const void *Data, uint64 DataSize, uint8 *OutHash) |
| |
| static FSHAHash | HashBuffer (const void *Data, uint64 DataSize) |
| |
| static CORE_API void | HMACBuffer (const void *Key, uint32 KeySize, const void *Data, uint64 DataSize, uint8 *OutHash) |
| |
| static CORE_API void | InitializeFileHashesFromBuffer (uint8 *Buffer, uint64 BufferSize, bool bDuplicateKeyMemory=false) |
| |
| static CORE_API bool | GetFileSHAHash (const TCHAR *Pathname, uint8 Hash[20], bool bIsFullPackageHash=true) |
| |
◆ anonymous enum
◆ FSHA1()
◆ ~FSHA1()
◆ Final()
◆ Finalize()
◆ GetFileSHAHash()
Gets the stored SHA hash from the platform, if it exists. This function must be able to be called from any thread.
- Parameters
-
| Pathname | Pathname to the file to get the SHA for |
| Hash | 20 byte array that receives the hash |
| bIsFullPackageHash | true if we are looking for a full package hash, instead of a script code only hash |
- Returns
- true if the hash was found, false otherwise
◆ GetHash()
◆ HashBuffer() [1/2]
Calculate the hash on a single block and return it
- Parameters
-
| Data | Input data to hash |
| DataSize | Size of the Data block |
- Returns
- Resulting digest
◆ HashBuffer() [2/2]
Calculate the hash on a single block and return it
- Parameters
-
| Data | Input data to hash |
| DataSize | Size of the Data block |
| OutHash | Resulting hash value (20 byte buffer) |
◆ HMACBuffer()
◆ InitializeFileHashesFromBuffer()
Shared hashes.sha reading code (each platform gets a buffer to the data, then passes it to this function for processing)
- Parameters
-
| Buffer | Contents of hashes.sha (probably loaded from an a section in the executable) |
| BufferSize | Size of Buffer |
| bDuplicateKeyMemory | If Buffer is not always loaded, pass true so that the 20 byte hashes are duplicated |
Shared hashes.sha reading code (each platform gets a buffer to the data, then passes it to this function for processing)
◆ Reset()
◆ Update() [1/2]
| void FSHA1::Update |
( |
const Type & |
InData | ) |
|
|
inline |
◆ Update() [2/2]
◆ UpdateWithString()
◆ __reserved1
◆ __reserved2
◆ m_buffer
| uint8 FSHA1::m_buffer[64] |
◆ m_count
◆ m_digest
| uint8 FSHA1::m_digest[20] |
◆ m_state
The documentation for this class was generated from the following files: