xtea.c
void(* CipherAlgoEncryptBlock)(void *context, const uint8_t *input, uint8_t *output)
Definition: crypto.h:1009
__weak_func void xteaEncryptBlock(XteaContext *context, const uint8_t *input, uint8_t *output)
Encrypt a 16-byte block using XTEA algorithm.
Definition: xtea.c:98
__weak_func void xteaDecryptBlock(XteaContext *context, const uint8_t *input, uint8_t *output)
Decrypt a 16-byte block using XTEA algorithm.
Definition: xtea.c:134
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
XTEA (eXtended TEA)
__weak_func error_t xteaInit(XteaContext *context, const uint8_t *key, size_t keyLen)
Key expansion.
Definition: xtea.c:69