#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "wine/test.h"
Go to the source code of this file.
◆ PSHA_CTX
◆ START_TEST()
Definition at line 69 of file crypt_sha.c.
70{
72}
static void test_sha_ctx(void)
◆ test_sha_ctx()
Definition at line 36 of file crypt_sha.c.
37{
41 static const unsigned char test_buffer[] =
"In our Life there's If"
42 "In our beliefs there's Lie"
43 "In our business there is Sin"
44 "In our bodies, there is Die";
48 ULONG result_correct[5] = {0xe014f93, 0xe09791ec, 0x6dcf96c8, 0x8e9385fc, 0x1611c1bb};
49
54
55 if (!pA_SHAInit || !pA_SHAUpdate || !pA_SHAFinal)
56 {
57 win_skip(
"A_SHAInit and/or A_SHAUpdate and/or A_SHAFinal are not available\n");
58 return;
59 }
60
67}
static TCHAR test_buffer[TEST_BUFFER_SIZE]
int memcmp(void *Buffer1, void *Buffer2, ACPI_SIZE Count)
struct SHA_CTX * PSHA_CTX
#define GetProcAddress(x, y)
HMODULE WINAPI DECLSPEC_HOTPATCH GetModuleHandleA(LPCSTR lpModuleName)
static PEXPLICIT_ACCESSW *static HMODULE hmod
#define RtlZeroMemory(Destination, Length)
Referenced by START_TEST().