mars.h
Go to the documentation of this file.
54 uint32_t k[40];
void marsEncryptBlock(MarsContext *context, const uint8_t *input, uint8_t *output)
Encrypt a 16-byte block using MARS algorithm.
Definition: mars.c:334
General definitions for cryptographic algorithms.
error_t marsInit(MarsContext *context, const uint8_t *key, size_t keyLen)
Key expansion.
Definition: mars.c:226
void marsDecryptBlock(MarsContext *context, const uint8_t *input, uint8_t *output)
Decrypt a 16-byte block using MARS algorithm.
Definition: mars.c:421