diff options
Diffstat (limited to 'src/ref/tweakey.c')
| -rw-r--r-- | src/ref/tweakey.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/ref/tweakey.c b/src/ref/tweakey.c index e5faf2a..39e5980 100644 --- a/src/ref/tweakey.c +++ b/src/ref/tweakey.c @@ -1,3 +1,22 @@ +/* +Implementation of the Lilliput-AE tweakable block cipher. + +Author: 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 an implementation of Lilliput-TBC's tweakey schedule, +where multiplications by matrices M and M_R to the power n is performed by +functions expressing the exponentiated matrices with shifts and XORs. +*/ + #include <stdint.h> #include <string.h> |
