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};
55 if (!pA_SHAInit || !pA_SHAUpdate || !pA_SHAFinal)
57 win_skip(
"A_SHAInit and/or A_SHAUpdate and/or A_SHAFinal are not available\n");
static TCHAR test_buffer[TEST_BUFFER_SIZE]
int memcmp(void *Buffer1, void *Buffer2, ACPI_SIZE Count)
static void test_sha_ctx(void)
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)