From 4d14b26ea179f42f2b1b0ad6d3f19e69c95d7fdc Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Tue, 21 May 2019 11:06:56 +0200 Subject: Extraction des multiplications hors de tweakey.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit De façon à ce que d'autres versions puissent réutiliser l'un ou l'autre. --- src/ref/constants.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ref/constants.h') 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) -- cgit v1.2.3