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/ref/tweakey.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/ref/tweakey.c') 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 #include -- cgit v1.2.3