TuyaOS
arc4.h
浏览该文件的文档.
1
36#include "netif/ppp/ppp_opts.h"
37#if LWIP_INCLUDED_POLARSSL_ARC4
38
39#ifndef LWIP_INCLUDED_POLARSSL_ARC4_H
40#define LWIP_INCLUDED_POLARSSL_ARC4_H
41
45typedef struct
46{
47 int x;
48 int y;
49 unsigned char m[256];
50}
51arc4_context;
52
53#ifdef __cplusplus
54extern "C" {
55#endif
56
64void arc4_setup( arc4_context *ctx, unsigned char *key, int keylen );
65
73void arc4_crypt( arc4_context *ctx, unsigned char *buf, int buflen );
74
75#ifdef __cplusplus
76}
77#endif
78
79#endif /* LWIP_INCLUDED_POLARSSL_ARC4_H */
80
81#endif /* LWIP_INCLUDED_POLARSSL_ARC4 */