TuyaOS
md4.h
浏览该文件的文档.
1
36#include "netif/ppp/ppp_opts.h"
37#if LWIP_INCLUDED_POLARSSL_MD4
38
39#ifndef LWIP_INCLUDED_POLARSSL_MD4_H
40#define LWIP_INCLUDED_POLARSSL_MD4_H
41
45typedef struct
46{
47 unsigned long total[2];
48 unsigned long state[4];
49 unsigned char buffer[64];
50}
51md4_context;
52
53#ifdef __cplusplus
54extern "C" {
55#endif
56
62void md4_starts( md4_context *ctx );
63
71void md4_update( md4_context *ctx, const unsigned char *input, int ilen );
72
79void md4_finish( md4_context *ctx, unsigned char output[16] );
80
88void md4( unsigned char *input, int ilen, unsigned char output[16] );
89
90
91#ifdef __cplusplus
92}
93#endif
94
95#endif /* LWIP_INCLUDED_POLARSSL_MD4_H */
96
97#endif /* LWIP_INCLUDED_POLARSSL_MD4 */