sha1.h
mux2.4/src/sha1.h · 314 B
From the archive mux-2.4.0.21.win32.src.zip
Download the archive « Back to the archive contents
#ifndef SHA1_H
#define SHA1_H
typedef struct
{
UINT64 nTotal;
UINT32 H[5];
UINT8 block[64];
size_t nblock;
} SHA1_CONTEXT;
void SHA1_Init(SHA1_CONTEXT *p);
void SHA1_Compute(SHA1_CONTEXT *p, size_t n, const char *buf);
void SHA1_Final(SHA1_CONTEXT *p);
#endif // SHA1_H