41#if PPP_INCLUDED_POLARSSL_SHA1
43#ifndef PPP_INCLUDED_POLARSSL_SHA1_H
44#define PPP_INCLUDED_POLARSSL_SHA1_H
51 unsigned long total[2];
52 unsigned long state[5];
53 unsigned char buffer[64];
66void sha1_starts( sha1_context *ctx );
75void sha1_update( sha1_context *ctx,
const unsigned char *input,
int ilen );
83void sha1_finish( sha1_context *ctx,
unsigned char output[20] );
92void sha1(
unsigned char *input,
int ilen,
unsigned char output[20] );