diff options
| author | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2019-02-12 10:29:31 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2019-02-12 10:33:27 +0100 |
| commit | ff3c6e7f52c8eae698d11a55b8153dd4c61fad87 (patch) | |
| tree | fee0b19ae759ad01f08ffc2684cfdda56653d0f9 /src/add_tweakeysequences | |
| parent | d2df2fbd5e21d1d12dda02e6553d3129d16498a3 (diff) | |
| download | lilliput-ae-implem-ff3c6e7f52c8eae698d11a55b8153dd4c61fad87.tar.xz | |
Ajout d'une déclaration de (renonciation aux) droits d'auteur
Avec une phrase de documentation en prime pour chaque fichier.
Cf. issue #2.
Diffstat (limited to 'src/add_tweakeysequences')
| -rw-r--r-- | src/add_tweakeysequences/tweakey.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/add_tweakeysequences/tweakey.c b/src/add_tweakeysequences/tweakey.c index 9f71622..3ff6bb5 100644 --- a/src/add_tweakeysequences/tweakey.c +++ b/src/add_tweakeysequences/tweakey.c @@ -1,3 +1,23 @@ +/* +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, with +8×8 matrices M_1, M_2, M_3 and M_4 pre-computed as lookup tables. +*/ + #include <stdint.h> #include <string.h> |
