From a28cc2d84f3a0411a9e6cd6c786bd114e9aa2b06 Mon Sep 17 00:00:00 2001 From: Alexandre Adomnicai Date: Fri, 15 Mar 2019 13:29:01 +0100 Subject: Ajout de commentaires pour decrire la TI de ref --- src/add_threshold/cipher.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/add_threshold/cipher.c b/src/add_threshold/cipher.c index 7efd4ae..765972a 100644 --- a/src/add_threshold/cipher.c +++ b/src/add_threshold/cipher.c @@ -1,5 +1,5 @@ /* -Implementation of the Lilliput-AE tweakable block cipher. +Threshold Implementation of the Lilliput-AE tweakable block cipher. Authors, hereby denoted as "the implementer": Alexandre Adomnicai, @@ -16,8 +16,13 @@ http://creativecommons.org/publicdomain/zero/1.0/ --- -This file provides a first-order threshold implementation for Lilliput-TBC, -where the input block is split into three shares. +This file provides a first-order threshold implementation of the Lilliput-AE +tweakable block cipher. The input block is split into 3 shares while the key +is split into 2 shares for the tweakey schedule. The S-box relies on look-up +tables and saves some memory usage at the cost of additional operations as +described in the specification. This implementation operates on 3 shares +throughout the entire round function in order to avoid extra randomness +generation to switch from 2 shares to 3 shares and vice versa. */ #include -- cgit v1.2.3