ReactOS 0.4.16-dev-306-g647d351
|
#include "precomp.h"
Go to the source code of this file.
Classes | |
struct | _A_SHA_CTX |
struct | _MD5_CTX |
struct | _MD4_CTX |
Macros | |
#define | A_SHA_DIGEST_LEN 20 |
#define | MD5_DIGEST_LEN 16 |
#define | MD4_DIGEST_LEN 16 |
#define | RSA32API __stdcall |
Typedefs | |
typedef struct _A_SHA_CTX | A_SHA_CTX |
typedef struct _A_SHA_CTX * | PA_SHA_CTX |
typedef struct _MD5_CTX | MD5_CTX |
typedef struct _MD5_CTX * | PMD5_CTX |
typedef struct _MD4_CTX | MD4_CTX |
typedef struct _MD4_CTX * | PMD4_CTX |
typedef VOID RSA32API | FN_A_SHAInit(_Out_ PA_SHA_CTX Context) |
typedef VOID RSA32API | FN_A_SHAUpdate(_Inout_ PA_SHA_CTX Context, _In_reads_(BufferSize) PUCHAR Buffer, _In_ ULONG BufferSize) |
typedef VOID RSA32API | FN_A_SHAFinal(_Inout_ PA_SHA_CTX Context, _Out_ PUCHAR Result) |
typedef VOID RSA32API | FN_MD5Init(_Out_ PMD5_CTX Context) |
typedef VOID RSA32API | FN_MD5Update(_Inout_ PMD5_CTX Context, _In_reads_(BufferSize) PUCHAR Buffer, _In_ ULONG BufferSize) |
typedef VOID RSA32API | FN_MD5Final(_Inout_ PMD5_CTX Context) |
typedef VOID RSA32API | FN_MD4Init(_Out_ PMD4_CTX Context) |
typedef VOID RSA32API | FN_MD4Update(_Inout_ PMD4_CTX Context, _In_reads_(BufferSize) PUCHAR Buffer, _In_ ULONG BufferSize) |
typedef VOID RSA32API | FN_MD4Final(_Inout_ PMD4_CTX Context) |
Functions | |
static void | Test_SHA1 (void) |
static void | Test_MD5 (void) |
static void | Test_MD4 (void) |
START_TEST (Hash) | |
Variables | |
static HMODULE | g_hAdvapi32 = NULL |
static ANSI_STRING | g_TestString = RTL_CONSTANT_STRING("ReactOS Hash API Test String") |
static ULONG | g_ctxSHA1StateInit [] = { 0x67452301, 0xEFCDAB89, 0x98BADCFE, 0x10325476, 0xC3D2E1F0 } |
static UCHAR | g_aucSHA1Result [A_SHA_DIGEST_LEN] |
static ULONG | g_aulMD5Or4StateInit [] = { 0x67452301, 0xEFCDAB89, 0x98BADCFE, 0x10325476 } |
static UCHAR | g_aucMD5Result [MD5_DIGEST_LEN] |
static UCHAR | g_aucMD4Result [MD4_DIGEST_LEN] |
typedef struct _A_SHA_CTX A_SHA_CTX |
typedef VOID RSA32API FN_A_SHAUpdate(_Inout_ PA_SHA_CTX Context, _In_reads_(BufferSize) PUCHAR Buffer, _In_ ULONG BufferSize) |
typedef VOID RSA32API FN_MD4Update(_Inout_ PMD4_CTX Context, _In_reads_(BufferSize) PUCHAR Buffer, _In_ ULONG BufferSize) |
typedef VOID RSA32API FN_MD5Update(_Inout_ PMD5_CTX Context, _In_reads_(BufferSize) PUCHAR Buffer, _In_ ULONG BufferSize) |
typedef struct _A_SHA_CTX * PA_SHA_CTX |
START_TEST | ( | Hash | ) |
Definition at line 235 of file Hash.c.
Referenced by START_TEST().
Definition at line 180 of file Hash.c.
Referenced by START_TEST().
Definition at line 124 of file Hash.c.
Referenced by START_TEST().
|
static |
Definition at line 119 of file Hash.c.
Referenced by Test_MD4().
|
static |
Definition at line 115 of file Hash.c.
Referenced by Test_MD5().
|
static |
Definition at line 108 of file Hash.c.
Referenced by Test_SHA1().
|
static |
Definition at line 114 of file Hash.c.
Referenced by Test_MD4(), and Test_MD5().
|
static |
Definition at line 107 of file Hash.c.
Referenced by Test_SHA1().
Definition at line 104 of file Hash.c.
Referenced by START_TEST(), Test_MD4(), Test_MD5(), and Test_SHA1().
|
static |
Definition at line 105 of file Hash.c.
Referenced by Test_MD4(), Test_MD5(), and Test_SHA1().