rc4.c
void(* CipherAlgoDecryptStream)(void *context, const uint8_t *input, uint8_t *output, size_t length)
Definition: crypto.h:1006
error_t rc4Init(Rc4Context *context, const uint8_t *key, size_t length)
Initialize an RC4 context using the supplied key.
Definition: rc4.c:65
void(* CipherAlgoEncryptStream)(void *context, const uint8_t *input, uint8_t *output, size_t length)
Definition: crypto.h:1003
General definitions for cryptographic algorithms.
error_t(* CipherAlgoInit)(void *context, const uint8_t *key, size_t keyLen)
Definition: crypto.h:1000
void rc4Cipher(Rc4Context *context, const uint8_t *input, uint8_t *output, size_t length)
Encrypt/decrypt data with the RC4 algorithm.
Definition: rc4.c:110
RC4 encryption algorithm.