2 * SHA-1 implementation.
4 * Copyright (C) 2005 Paul Mackerras <paulus@samba.org>
8 typedef struct sha_context
{
18 int SHA1_Init(SHA_CTX
*c
);
19 int SHA1_Update(SHA_CTX
*c
, const void *p
, unsigned long n
);
20 int SHA1_Final(unsigned char *hash
, SHA_CTX
*c
);