36 #include "netif/ppp/ppp_opts.h" 37 #if LWIP_INCLUDED_POLARSSL_SHA1 39 #ifndef LWIP_INCLUDED_POLARSSL_SHA1_H 40 #define LWIP_INCLUDED_POLARSSL_SHA1_H 47 unsigned long total[2];
48 unsigned long state[5];
49 unsigned char buffer[64];
62 void sha1_starts( sha1_context *ctx );
71 void sha1_update( sha1_context *ctx,
const unsigned char *input,
int ilen );
79 void sha1_finish( sha1_context *ctx,
unsigned char output[20] );
88 void sha1(
unsigned char *input,
int ilen,
unsigned char output[20] );