tea.c
void(* CipherAlgoEncryptBlock)(void *context, const uint8_t *input, uint8_t *output)
Definition: crypto.h:1009
TEA (Tiny Encryption Algorithm)
void(* CipherAlgoDecryptBlock)(void *context, const uint8_t *input, uint8_t *output)
Definition: crypto.h:1012
General definitions for cryptographic algorithms.
error_t(* CipherAlgoInit)(void *context, const uint8_t *key, size_t keyLen)
Definition: crypto.h:1000
void teaDecryptBlock(TeaContext *context, const uint8_t *input, uint8_t *output)
Decrypt a 16-byte block using TEA algorithm.
Definition: tea.c:133
void teaEncryptBlock(TeaContext *context, const uint8_t *input, uint8_t *output)
Encrypt a 16-byte block using TEA algorithm.
Definition: tea.c:97
error_t teaInit(TeaContext *context, const uint8_t *key, size_t keyLen)
Key expansion.
Definition: tea.c:69