File nut/include/contrib/crypto/arcfour.h


Included Files


Preprocessor definitions

* \file arcfour.h * \author Daniel Otte * \date 2006-06-07 * \license GPLv3+ * \brief Implementation of the ARCFOUR (RC4 compatible) stream cipher algorithm. * * This header file defines the interface of the ARCFOUR cipher implementation. * * This implementation aims to be compatible with the ARCFOUR description * available at * http://www.mozilla.org/projects/security/pki/nss/draft-kaukonen-cipher-arcfour-03.txt

#define ARCFOUR_H_


Typedef arcfour_ctx_t

\struct arcfour_ctx_st * \brief base for ::arcfour_ctx_t * * The struct holds the two indices and the S-Box

typedef struct arcfour_ctx_st arcfour_ctx_t

struct arcfour_ctx_st  
   {  
      uint8_t i;  
      uint8_t j;  
      uint8_t s[256];  
   }