diff options
| author | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2019-05-21 11:06:56 +0200 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2019-05-21 11:08:02 +0200 |
| commit | 6b38ac5bfda54e8e28554c6a38092941a477c479 (patch) | |
| tree | d3840e160cd96eab81723e301bf106a888d46d51 /src/ref/constants.h | |
| parent | 5d6317a9072695839871d0e0add25eefaf53cd19 (diff) | |
| download | lilliput-ae-implem-6b38ac5bfda54e8e28554c6a38092941a477c479.tar.xz | |
Extraction des multiplications hors de tweakey.c
De façon à ce que d'autres versions puissent réutiliser l'un ou
l'autre.
Diffstat (limited to 'src/ref/constants.h')
| -rw-r--r-- | src/ref/constants.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ref/constants.h b/src/ref/constants.h index 6812fd8..d2da2a0 100644 --- a/src/ref/constants.h +++ b/src/ref/constants.h @@ -23,6 +23,7 @@ This file provides bit and byte lengths for input and output parameters. #include "parameters.h" #define TWEAKEY_LENGTH_BITS (TWEAK_LENGTH_BITS+KEY_LENGTH_BITS) +#define LANE_BITS 64 #define ROUND_TWEAKEY_LENGTH_BITS 64 #define BLOCK_LENGTH_BITS 128 #define NONCE_LENGTH_BITS 120 @@ -31,6 +32,7 @@ This file provides bit and byte lengths for input and output parameters. #define TWEAK_BYTES (TWEAK_LENGTH_BITS/8) #define KEY_BYTES (KEY_LENGTH_BITS/8) #define TWEAKEY_BYTES (TWEAKEY_LENGTH_BITS/8) +#define LANE_BYTES (LANE_BITS/8) #define ROUND_TWEAKEY_BYTES (ROUND_TWEAKEY_LENGTH_BITS/8) #define BLOCK_BYTES (BLOCK_LENGTH_BITS/8) #define NONCE_BYTES (NONCE_LENGTH_BITS/8) |
