twofish.h
Go to the documentation of this file.
54 uint32_t k[40];
55 uint32_t s1[256];
56 uint32_t s2[256];
57 uint32_t s3[256];
58 uint32_t s4[256];
General definitions for cryptographic algorithms.
error_t twofishInit(TwofishContext *context, const uint8_t *key, size_t keyLen)
Key expansion.
Definition: twofish.c:249
void twofishDecryptBlock(TwofishContext *context, const uint8_t *input, uint8_t *output)
Decrypt a 16-byte block using Twofish algorithm.
Definition: twofish.c:417
void twofishEncryptBlock(TwofishContext *context, const uint8_t *input, uint8_t *output)
Encrypt a 16-byte block using Twofish algorithm.
Definition: twofish.c:335