diff options
| author | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2018-12-10 16:37:26 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2018-12-10 16:37:26 +0100 |
| commit | 7be6c07647afbc27bc7402efb23c1178affa2ec9 (patch) | |
| tree | 0e269d3e3d7e8556549538c673bc75c7bdab2da4 /src/constants.h | |
| parent | 8eed9390de14c810d9242277e275c6e783f86261 (diff) | |
| download | lilliput-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.h | 16 |
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 */ |
