From 6d9843e7f5899835696d90f859ff88041c851d09 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Fri, 12 Feb 2016 14:53:51 +0100 Subject: [PATCH] apps/speed.c: initialize c[D_GHASH][i]. RT#4230 Reviewed-by: Richard Levitte --- apps/speed.c | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/speed.c b/apps/speed.c index 6d9458c882..a0decd7031 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -1071,6 +1071,7 @@ int speed_main(int argc, char **argv) c[D_SHA256][i] = c[D_SHA256][0] * 4 * l0 / l1; c[D_SHA512][i] = c[D_SHA512][0] * 4 * l0 / l1; c[D_WHIRLPOOL][i] = c[D_WHIRLPOOL][0] * 4 * l0 / l1; + c[D_GHASH][i] = c[D_GHASH][0] * 4 * l0 / l1; l0 = (long)lengths[i - 1]; -- 2.25.1