summaryrefslogtreecommitdiff
path: root/crypto_aead/lilliputaei128v1/ref/constants.h
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2018-11-21 10:29:44 +0100
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2018-11-21 10:29:44 +0100
commit1b70dc0fdb7c445f526a51ced73e531ac31cf438 (patch)
tree5667abd2324b77c15e4af958eca7aeeaf5960387 /crypto_aead/lilliputaei128v1/ref/constants.h
parent59369b8bfe208ba5a353c0985ad7c8d421cc9988 (diff)
downloadlilliput-ae-implem-1b70dc0fdb7c445f526a51ced73e531ac31cf438.tar.xz
Implémentation de la multiplication du tweakey
Diffstat (limited to 'crypto_aead/lilliputaei128v1/ref/constants.h')
-rw-r--r--crypto_aead/lilliputaei128v1/ref/constants.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto_aead/lilliputaei128v1/ref/constants.h b/crypto_aead/lilliputaei128v1/ref/constants.h
index c329896..109f1c5 100644
--- a/crypto_aead/lilliputaei128v1/ref/constants.h
+++ b/crypto_aead/lilliputaei128v1/ref/constants.h
@@ -1,4 +1,9 @@
#include <stdint.h>
+/* Tweakey permutation */
extern const uint8_t h[8];
+
+/* Tweakey multiplication */
+extern const uint8_t P[6][256];
+