sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
sha1.h
Go to the documentation of this file.
1
35
40#include "netif/ppp/ppp_opts.h"
41#if LWIP_INCLUDED_POLARSSL_SHA1
42
43#ifndef LWIP_INCLUDED_POLARSSL_SHA1_H
44#define LWIP_INCLUDED_POLARSSL_SHA1_H
45
49typedef struct
50{
51 unsigned long total[2];
52 unsigned long state[5];
53 unsigned char buffer[64];
54}
55sha1_context;
56
57#ifdef __cplusplus
58extern "C" {
59#endif
60
66void sha1_starts( sha1_context *ctx );
67
75void sha1_update( sha1_context *ctx, const unsigned char *input, int ilen );
76
83void sha1_finish( sha1_context *ctx, unsigned char output[20] );
84
92void sha1( unsigned char *input, int ilen, unsigned char output[20] );
93
94#ifdef __cplusplus
95}
96#endif
97
98#endif /* LWIP_INCLUDED_POLARSSL_SHA1_H */
99
100#endif /* LWIP_INCLUDED_POLARSSL_SHA1 */