summaryrefslogtreecommitdiff
path: root/src/constants.h
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2018-12-10 16:37:26 +0100
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2018-12-10 16:37:26 +0100
commit7be6c07647afbc27bc7402efb23c1178affa2ec9 (patch)
tree0e269d3e3d7e8556549538c673bc75c7bdab2da4 /src/constants.h
parent8eed9390de14c810d9242277e275c6e783f86261 (diff)
downloadlilliput-ae-implem-7be6c07647afbc27bc7402efb23c1178affa2ec9.tar.xz
Mise à jour de l'implémentation du key schedule
Pour le moment, Mⁱ (resp. MRⁱ) sont implémentées en appliquant i fois M (resp. MR) ; à voir si on préfère les pré-calculer.
Diffstat (limited to 'src/constants.h')
-rw-r--r--src/constants.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/constants.h b/src/constants.h
deleted file mode 100644
index a786023..0000000
--- a/src/constants.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef CONSTANTS_H
-#define CONSTANTS_H
-
-#include <stdint.h>
-
-
-/* Tweakey permutation */
-extern const uint8_t h[8];
-
-/* Tweakey multiplication */
-extern const uint8_t P[6][256];
-
-/* Lilliput S-box */
-extern const uint8_t S[256];
-
-#endif /* CONSTANTS_H */