2014-01-25 13:55:08 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2016-03-18 06:40:39 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2014-01-25 13:55:08 +00:00
|
|
|
#include <ntdef.h>
|
|
|
|
|
|
|
|
/* SHA Context Structure Declaration */
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
ULONG Unknown[6];
|
|
|
|
ULONG State[5];
|
|
|
|
ULONG Count[2];
|
|
|
|
UCHAR Buffer[64];
|
|
|
|
} SHA_CTX, *PSHA_CTX;
|
|
|
|
|
|
|
|
VOID NTAPI
|
|
|
|
A_SHAInit(PSHA_CTX Context);
|
|
|
|
|
|
|
|
VOID NTAPI
|
|
|
|
A_SHAUpdate(PSHA_CTX Context, const unsigned char *Buffer, ULONG BufferSize);
|
|
|
|
|
|
|
|
VOID NTAPI
|
|
|
|
A_SHAFinal(PSHA_CTX Context, PULONG Result);
|
|
|
|
|
2016-03-18 06:40:39 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2014-01-25 13:55:08 +00:00
|
|
|
|