summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/add_threshold/cipher.c12
-rw-r--r--src/add_threshold/tweakey.c12
-rw-r--r--src/add_threshold/tweakey.h10
3 files changed, 18 insertions, 16 deletions
diff --git a/src/add_threshold/cipher.c b/src/add_threshold/cipher.c
index 911449d..d78270d 100644
--- a/src/add_threshold/cipher.c
+++ b/src/add_threshold/cipher.c
@@ -2,9 +2,10 @@
Implementation of the Lilliput-AE tweakable block cipher.
Authors:
- Kévin Le Gouguec,
- Léo Reynaud,
- Alexandre Adomnicai, 2019.
+ Alexandre Adomnicai,
+ Kévin Le Gouguec,
+ Léo Reynaud,
+ 2019.
For more information, feedback or questions, refer to our website:
https://paclido.fr/lilliput-ae
@@ -15,9 +16,8 @@ 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 are performed
-by functions expressing the exponentiated matrices with shifts and XORs.
+This file provides a first-order threshold implementation for Lilliput-TBC,
+where the input block is split into three shares.
*/
#include <stdint.h>
diff --git a/src/add_threshold/tweakey.c b/src/add_threshold/tweakey.c
index 28d0e3d..fc664ed 100644
--- a/src/add_threshold/tweakey.c
+++ b/src/add_threshold/tweakey.c
@@ -2,9 +2,10 @@
Implementation of the Lilliput-AE tweakable block cipher.
Authors:
- Kévin Le Gouguec,
- Léo Reynaud,
- Alexandre Adomnicai, 2019.
+ Alexandre Adomnicai,
+ Kévin Le Gouguec,
+ Léo Reynaud,
+ 2019.
For more information, feedback or questions, refer to our website:
https://paclido.fr/lilliput-ae
@@ -15,9 +16,8 @@ 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 are performed
-by functions expressing the exponentiated matrices with shifts and XORs.
+This file provides a first-order threshold implementation of Lilliput-TBC's
+tweakey schedule, where the tweak and the key are split into two shares.
*/
#include <stdint.h>
diff --git a/src/add_threshold/tweakey.h b/src/add_threshold/tweakey.h
index c76d655..ca7bd49 100644
--- a/src/add_threshold/tweakey.h
+++ b/src/add_threshold/tweakey.h
@@ -2,9 +2,10 @@
Implementation of the Lilliput-AE tweakable block cipher.
Authors:
- Kévin Le Gouguec,
- Léo Reynaud,
- Alexandre Adomnicai, 2019.
+ Alexandre Adomnicai,
+ Kévin Le Gouguec,
+ Léo Reynaud,
+ 2019.
For more information, feedback or questions, refer to our website:
https://paclido.fr/lilliput-ae
@@ -15,7 +16,8 @@ http://creativecommons.org/publicdomain/zero/1.0/
---
-This file provides the interface for Lilliput-TBC's tweakey schedule.
+This file provides the interface for the first-order threshold implementation
+of Lilliput-TBC's tweakey schedule.
*/
#ifndef TWEAKEY_H