Files
wj32 36a4284b8d converted all annotations to SAL 2.0
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@5548 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2013-11-10 06:25:03 +00:00

29 lines
467 B
C

#ifndef _SHA_H
#define _SHA_H
typedef struct
{
ULONG flag;
UCHAR hash[20];
ULONG state[5];
ULONG count[2];
UCHAR buffer[64];
} A_SHA_CTX;
VOID A_SHAInit(
_Out_ A_SHA_CTX *Context
);
VOID A_SHAUpdate(
_Inout_ A_SHA_CTX *Context,
_In_reads_bytes_(Length) UCHAR *Input,
_In_ ULONG Length
);
VOID A_SHAFinal(
_Inout_ A_SHA_CTX *Context,
_Out_writes_bytes_(20) UCHAR *Hash
);
#endif