From ff3c6e7f52c8eae698d11a55b8153dd4c61fad87 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Tue, 12 Feb 2019 10:29:31 +0100 Subject: Ajout d'une déclaration de (renonciation aux) droits d'auteur MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Avec une phrase de documentation en prime pour chaque fichier. Cf. issue #2. --- src/add_tweakeysequences/tweakey.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src/add_tweakeysequences/tweakey.c') 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 #include -- cgit v1.2.3