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 UCHAR Buffer[64]; 15 ULONG State[5]; 16 ULONG Count[2]; 17 } SHA_CTX, *PSHA_CTX; 18 19 VOID NTAPI 20 A_SHAInit(PSHA_CTX Context); 21 22 VOID NTAPI 23 A_SHAUpdate(PSHA_CTX Context, const unsigned char *Buffer, ULONG BufferSize); 24 25 VOID NTAPI 26 A_SHAFinal(PSHA_CTX Context, PULONG Result); 27 28 #ifdef __cplusplus 29 } 30 #endif 31 32