diff options
author | Andy Polyakov <appro@openssl.org> | 2016-02-12 14:53:51 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2016-02-13 11:43:02 +0100 |
commit | 6d9843e7f5899835696d90f859ff88041c851d09 (patch) | |
tree | f989e3680f3b8f992fc7a8301a45ab511e3e493a /apps/speed.c | |
parent | e634b448c3113545ff5f9a70e74a0ce694a00e77 (diff) | |
download | openssl-6d9843e7f5899835696d90f859ff88041c851d09.tar.gz |
apps/speed.c: initialize c[D_GHASH][i].
RT#4230
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'apps/speed.c')
-rw-r--r-- | apps/speed.c | 1 |
1 files changed, 1 insertions, 0 deletions
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]; |