UbixOS V2 2.0

arc4.h
Go to the documentation of this file.
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
45 typedef struct
46 {
47 int x;
48 int y;
49 unsigned char m[256];
50 }
51 arc4_context;
52
53 #ifdef __cplusplus
54 extern "C" {
55 #endif
56
64 void arc4_setup( arc4_context *ctx, unsigned char *key, int keylen );
65
73 void 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 */
buf
Definition: buf.h:35
ppp_opts.h