From 718a68910ec77404fd8e7673b75e5f7eca1ca2e3 Mon Sep 17 00:00:00 2001 Message-Id: <718a68910ec77404fd8e7673b75e5f7eca1ca2e3.1714941836.git.mdw@distorted.org.uk> From: Mark Wooding Date: Mon, 17 Jul 2017 01:00:16 +0100 Subject: [PATCH] symm/keccak1600.c (keccak1600_p): Minor layout tweak. Organization: Straylight/Edgeware From: Mark Wooding Align the final `keccak1600_round' calls to show the symmetry and difference better. --- symm/keccak1600.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/symm/keccak1600.c b/symm/keccak1600.c index e57aaa81..10a3516a 100644 --- a/symm/keccak1600.c +++ b/symm/keccak1600.c @@ -534,7 +534,7 @@ void keccak1600_p(keccak1600_state *z, const keccak1600_state *x, unsigned n) keccak1600_round(&u, &v, i++); case 3: keccak1600_round(&v, &u, i++); keccak1600_round(&u, &v, i++); - case 1: keccak1600_round(z, &u, i++); + case 1: keccak1600_round( z, &u, i++); break; case 8: keccak1600_round(&v, &u, i++); keccak1600_round(&u, &v, i++); @@ -543,7 +543,7 @@ void keccak1600_p(keccak1600_state *z, const keccak1600_state *x, unsigned n) case 4: keccak1600_round(&v, &u, i++); keccak1600_round(&u, &v, i++); case 2: keccak1600_round(&v, &u, i++); - keccak1600_round(z, &v, i++); + keccak1600_round( z, &v, i++); break; } #ifdef KECCAK_DEBUG -- [mdw]