Go to the documentation of this file.
38 #define RC4_CIPHER_ALGO (&rc4CipherAlgo)
General definitions for cryptographic algorithms.
void rc4Deinit(Rc4Context *context)
Release RC4 context.
void rc4Cipher(Rc4Context *context, const uint8_t *input, uint8_t *output, size_t length)
Encrypt/decrypt data with the RC4 algorithm.
Common interface for encryption algorithms.
const CipherAlgo rc4CipherAlgo
error_t rc4Init(Rc4Context *context, const uint8_t *key, size_t length)
Initialize an RC4 context using the supplied key.