lilliput-ae-reference-implementation

Implementations of Lilliput-AE submitted to the NIST LWC standardization process
git clone https://git.kevinlegouguec.net/lilliput-ae-reference-implementation
Log | Files | Refs | README

commit 988fa098a026d57da624bf97b05167ae329b9f62
parent 1989002054111cc5301f9aa229957cbd59a9e2f5
Author: Kévin Le Gouguec <kevin.legouguec@airbus.com>
Date:   Thu, 21 Feb 2019 16:36:38 +0100

Ajustement de l'alignement de certaines variables

Diffstat:
Msrc/ref/tweakey.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ref/tweakey.c b/src/ref/tweakey.c @@ -134,14 +134,14 @@ static void _multiply_MR2(const uint8_t x[LANE_BYTES], uint8_t y[LANE_BYTES]) static void _multiply_MR3(const uint8_t x[LANE_BYTES], uint8_t y[LANE_BYTES]) { - uint8_t x_MR_4 = x[5] ^ x[6]<<3; + uint8_t x_MR_4 = x[5] ^ x[6]<<3; uint8_t x_MR2_4 = x[3]<<2 ^ x[6] ^ x[7]<<3; y[0] = x[3] ^ x[4]>>3; y[1] = x[4] ^ x_MR_4>>3; y[2] = x_MR_4 ^ x_MR2_4>>3; y[3] = x_MR2_4; - y[4] = x[0]<<3 ^ x[4]<<2 ^ x[7]; + y[4] = x[0]<<3 ^ x[4]<<2 ^ x[7]; y[5] = x_MR_4<<2 ^ x[0]; y[6] = x[1]; y[7] = x[2];