rc2.h
Go to the documentation of this file.
56 uint16_t k[64];
error_t rc2Init(Rc2Context *context, const uint8_t *key, size_t keyLen)
Initialize a RC2 context using the supplied key.
Definition: rc2.c:94
void rc2EncryptBlock(Rc2Context *context, const uint8_t *input, uint8_t *output)
Encrypt a 8-byte block using RC2 algorithm.
Definition: rc2.c:174
void rc2DecryptBlock(Rc2Context *context, const uint8_t *input, uint8_t *output)
Decrypt a 8-byte block using RC2 algorithm.
Definition: rc2.c:228
General definitions for cryptographic algorithms.
error_t rc2InitEx(Rc2Context *context, const uint8_t *key, size_t keyLen, uint_t effectiveKeyLen)
Initialize a RC2 context using the supplied key.
Definition: rc2.c:110