Documentation

Documentation

Includes

netif/ppp/ppp_opts.h

#include "netif/ppp/ppp_opts.h"
#include "netif/ppp/ppp_opts.h"

Macros

Marco LWIP_INCLUDED_POLARSSL_ARC4_H

#define LWIP_INCLUDED_POLARSSL_ARC4_H

      

Functions

Func arc4_setup

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
 */

Func arc4_crypt

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
 */

Vars

Consts

Types

Typedefs

Typedef arc4_context;

typedef struct
{
   int x;                     /*!< permutation index */
   int y;                     /*!< permutation index */
   unsigned char m[256];      /*!< permutation table */
}
arc4_context;
/**
 * \brief          ARC4 context structure
 */