#include "netif/ppp/ppp_opts.h"
#include "netif/ppp/ppp_opts.h"
#define LWIP_INCLUDED_POLARSSL_ARC4_H
void arc4_setup( arc4_context *ctx, unsigned char *key, int keylen );
/** * \brief ARC4 key schedule * * \param ctx ARC4 context to be initialized * \param key the secret key * \param keylen length of the key */
void arc4_crypt( arc4_context *ctx, unsigned char *buf, int buflen );
/** * \brief ARC4 cipher function * * \param ctx ARC4 context * \param buf buffer to be processed * \param buflen amount of data in buf */
typedef struct
{
int x; /*!< permutation index */
int y; /*!< permutation index */
unsigned char m[256]; /*!< permutation table */
}
arc4_context;
/** * \brief ARC4 context structure */