diff options
| author | Alexandre Adomnicai <a.adomnicai@trusted-objects.com> | 2019-03-15 13:29:01 +0100 |
|---|---|---|
| committer | Alexandre Adomnicai <a.adomnicai@trusted-objects.com> | 2019-03-15 13:29:01 +0100 |
| commit | a28cc2d84f3a0411a9e6cd6c786bd114e9aa2b06 (patch) | |
| tree | 7df2d36cd19ed64038c2e248face8ddbf829257a /src/add_threshold/cipher.c | |
| parent | d9a168d5c3dad38a24b5d4535784739b7a2c1510 (diff) | |
| download | lilliput-ae-implem-a28cc2d84f3a0411a9e6cd6c786bd114e9aa2b06.tar.xz | |
Ajout de commentaires pour decrire la TI de ref
Diffstat (limited to 'src/add_threshold/cipher.c')
| -rw-r--r-- | src/add_threshold/cipher.c | 11 |
1 files changed, 8 insertions, 3 deletions
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 <stdint.h> |
