summaryrefslogtreecommitdiff
path: root/src/add_python/lilliput/helpers.py
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2019-03-25 08:38:01 +0100
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2019-03-25 08:38:01 +0100
commit07af965f2687105324e0142270a9e194a5ae6af5 (patch)
tree229f5ac8a60245a5de1638a4384ba7b29c2583e4 /src/add_python/lilliput/helpers.py
parent62cff183e2e9e67549db0461589a05138ce2ed00 (diff)
downloadlilliput-ae-implem-07af965f2687105324e0142270a9e194a5ae6af5.tar.xz
[implem-python] Ajout des entêtes manquants
Diffstat (limited to 'src/add_python/lilliput/helpers.py')
-rw-r--r--src/add_python/lilliput/helpers.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/add_python/lilliput/helpers.py b/src/add_python/lilliput/helpers.py
index 048aac7..41f75a6 100644
--- a/src/add_python/lilliput/helpers.py
+++ b/src/add_python/lilliput/helpers.py
@@ -1,2 +1,19 @@
+# Implementation of the Lilliput-AE tweakable block cipher.
+#
+# Authors, hereby denoted as "the implementer":
+# Kévin Le Gouguec,
+# Léo Reynaud
+# 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/
+
+"""Helper functions used in Lilliput-AE."""
+
+
def xor(array1, array2):
return [a1^a2 for (a1, a2) in zip(array1, array2)]