summaryrefslogtreecommitdiff
path: root/src/add_threshold
diff options
context:
space:
mode:
Diffstat (limited to 'src/add_threshold')
-rw-r--r--src/add_threshold/cipher.c11
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>