[DELAYIMP] Fix 2 Clang-Cl warnings about __pfnDliNotifyHook2Default and __pfnDliFailu...
[reactos.git] / sdk / lib / cryptlib / sha1.h
1
2 #pragma once
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8
9 #include <ntdef.h>
10
11 /* SHA Context Structure Declaration */
12 typedef struct
13 {
14 ULONG Unknown[6];
15 ULONG State[5];
16 ULONG Count[2];
17 UCHAR Buffer[64];
18 } SHA_CTX, *PSHA_CTX;
19
20 VOID NTAPI
21 A_SHAInit(PSHA_CTX Context);
22
23 VOID NTAPI
24 A_SHAUpdate(PSHA_CTX Context, const unsigned char *Buffer, ULONG BufferSize);
25
26 VOID NTAPI
27 A_SHAFinal(PSHA_CTX Context, PULONG Result);
28
29 #ifdef __cplusplus
30 }
31 #endif
32