/* Implementation of the Lilliput-AE tweakable block cipher. Authors, hereby denoted as "the implementer": Kévin Le Gouguec, 2019. For more information, feedback or questions, refer to our website: https://paclido.fr/lilliput-ae To the extent possible under law, the implementer has waived all copyright and related or neighboring rights to the source code in this file. http://creativecommons.org/publicdomain/zero/1.0/ --- This file provides the interface for Lilliput-TBC. */ #ifndef CIPHER_H #define CIPHER_H #include #include "constants.h" void lilliput_tbc_encrypt( const uint8_t key[KEY_BYTES], const uint8_t tweak[TWEAK_BYTES], const uint8_t message[BLOCK_BYTES], uint8_t ciphertext[BLOCK_BYTES] ); void lilliput_tbc_decrypt( const uint8_t key[KEY_BYTES], const uint8_t tweak[TWEAK_BYTES], const uint8_t ciphertext[BLOCK_BYTES], uint8_t message[BLOCK_BYTES] ); #endif /* CIPHER_H */