serpent.h
Go to the documentation of this file.
54 uint32_t k[33][4];
General definitions for cryptographic algorithms.
error_t serpentInit(SerpentContext *context, const uint8_t *key, size_t keyLen)
Key expansion.
Definition: serpent.c:402
void serpentEncryptBlock(SerpentContext *context, const uint8_t *input, uint8_t *output)
Encrypt a 16-byte block using Serpent algorithm.
Definition: serpent.c:495
void serpentDecryptBlock(SerpentContext *context, const uint8_t *input, uint8_t *output)
Decrypt a 16-byte block using Serpent algorithm.
Definition: serpent.c:543