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
|
|
|
|
{
|
2023-12-18 17:35:30 +00:00
|
|
|
UCHAR Buffer[64];
|
|
|
|
ULONG State[5];
|
|
|
|
ULONG Count[2];
|
2014-01-25 13:55:08 +00:00
|
|
|
} 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
|
|
|
|