cast256.h
Go to the documentation of this file.
54 uint32_t km[12][4];
55 uint8_t kr[12][4];
error_t cast256Init(Cast256Context *context, const uint8_t *key, size_t keyLen)
Key expansion.
Definition: cast256.c:315
void cast256DecryptBlock(Cast256Context *context, const uint8_t *input, uint8_t *output)
Decrypt a 8-byte block using CAST-256 algorithm.
Definition: cast256.c:416
void cast256EncryptBlock(Cast256Context *context, const uint8_t *input, uint8_t *output)
Encrypt a 8-byte block using CAST-256 algorithm.
Definition: cast256.c:372
General definitions for cryptographic algorithms.