diff options
Diffstat (limited to 'src/dutil/inc/cryputil.h')
-rw-r--r-- | src/dutil/inc/cryputil.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dutil/inc/cryputil.h b/src/dutil/inc/cryputil.h index 88aa784d..02492d8a 100644 --- a/src/dutil/inc/cryputil.h +++ b/src/dutil/inc/cryputil.h | |||
@@ -11,7 +11,10 @@ extern "C" { | |||
11 | 11 | ||
12 | // Use CRYPTPROTECTMEMORY_BLOCK_SIZE, because it's larger and thus more restrictive than RTL_ENCRYPT_MEMORY_SIZE. | 12 | // Use CRYPTPROTECTMEMORY_BLOCK_SIZE, because it's larger and thus more restrictive than RTL_ENCRYPT_MEMORY_SIZE. |
13 | #define CRYP_ENCRYPT_MEMORY_SIZE CRYPTPROTECTMEMORY_BLOCK_SIZE | 13 | #define CRYP_ENCRYPT_MEMORY_SIZE CRYPTPROTECTMEMORY_BLOCK_SIZE |
14 | #define MD5_HASH_LEN 16 | ||
14 | #define SHA1_HASH_LEN 20 | 15 | #define SHA1_HASH_LEN 20 |
16 | #define SHA256_HASH_LEN 32 | ||
17 | #define SHA512_HASH_LEN 64 | ||
15 | 18 | ||
16 | typedef NTSTATUS (APIENTRY *PFN_RTLENCRYPTMEMORY)( | 19 | typedef NTSTATUS (APIENTRY *PFN_RTLENCRYPTMEMORY)( |
17 | __inout PVOID Memory, | 20 | __inout PVOID Memory, |