aversive_10-03-12/modules/crypto/rc4/rc4.c File Reference

Implementation for the RC4 module. More...

#include <aversive.h>
#include "rc4.h"

Go to the source code of this file.

Functions

void rc4_init (uint8_t *key, uint8_t length)
uint8_t rc4_crypt_char (uint8_t data)

Variables

struct rc4_state s


Detailed Description

Implementation for the RC4 module.

Interface for the RC4 module.

Todo:
Test the module.
Test:
No tests for the moment.
This module provides RC4 cryptographic functions.

Todo:
Test the module.
Test:
No tests for the moment.
This module provides RC4 cryptographic functions.

Definition in file rc4.c.


Function Documentation

uint8_t rc4_crypt_char ( uint8_t  data  ) 

Definition at line 80 of file rc4.c.

References a, rc4_state::m, s, rc4_state::x, and rc4_state::y.

void rc4_init ( uint8_t *  key,
uint8_t  length 
)

Definition at line 44 of file rc4.c.

References a, i, rc4_state::m, s, rc4_state::x, and rc4_state::y.


Variable Documentation

struct rc4_state s

Definition at line 40 of file rc4.c.

Referenced by encoders_spi_manage(), rc4_crypt_char(), and rc4_init().


Generated on Fri Mar 12 06:32:05 2010 for AVR by  doxygen 1.5.6