#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 |
Interface for the RC4 module.
Definition in file rc4.c.
uint8_t rc4_crypt_char | ( | uint8_t | data | ) |
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.
Definition at line 40 of file rc4.c.
Referenced by encoders_spi_manage(), rc4_crypt_char(), and rc4_init().