From 1be1e0c7ef7c9ef4ae6ba59bb1002d34a28dd1e0 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 16 Feb 2022 17:12:35 +0100 Subject: Unrolling loop of rounds does not improve performance MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libar2_hash.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libar2_hash.c b/libar2_hash.c index 8afb02d..9d629f6 100644 --- a/libar2_hash.c +++ b/libar2_hash.c @@ -180,7 +180,6 @@ fill_block(struct block *block, const struct block *prevblock, const struct bloc ARR[OFF + W8], ARR[OFF + W9], ARR[OFF + WA], ARR[OFF + WB],\ ARR[OFF + WC], ARR[OFF + WD], ARR[OFF + WE], ARR[OFF + WF]) - /* TODO does unrolling these loop help? */ for (i = 0; i < 8; i++) { BLAMKA_ROUND_(tmpblock.w, i * 16, 0, 1, 2, 3, -- cgit v1.2.3-70-g09d2