ReactOS 0.4.16-dev-1019-g2c2cdfd
sha1.h
Go to the documentation of this file.
1
36#include "netif/ppp/ppp_opts.h"
37#if LWIP_INCLUDED_POLARSSL_SHA1
38
39#ifndef LWIP_INCLUDED_POLARSSL_SHA1_H
40#define LWIP_INCLUDED_POLARSSL_SHA1_H
41
45typedef struct
46{
47 unsigned long total[2];
48 unsigned long state[5];
49 unsigned char buffer[64];
50}
52
53#ifdef __cplusplus
54extern "C" {
55#endif
56
63
71void sha1_update( sha1_context *ctx, const unsigned char *input, int ilen );
72
79void sha1_finish( sha1_context *ctx, unsigned char output[20] );
80
88void sha1( unsigned char *input, int ilen, unsigned char output[20] );
89
90#ifdef __cplusplus
91}
92#endif
93
94#endif /* LWIP_INCLUDED_POLARSSL_SHA1_H */
95
96#endif /* LWIP_INCLUDED_POLARSSL_SHA1 */
static int state
Definition: maze.c:121
#define sha1_starts
Definition: compat-1.3.h:2269
#define sha1_context
Definition: compat-1.3.h:2262
#define sha1
Definition: compat-1.3.h:2261
#define sha1_finish
Definition: compat-1.3.h:2263
#define sha1_update
Definition: compat-1.3.h:2270
size_t total
GLuint buffer
Definition: glext.h:5915
GLenum GLenum GLenum input
Definition: glext.h:9031