diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-10-14 11:05:20 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-10-14 11:05:20 +0200 |
commit | beb87ad0f849f7a835f213dd70403c13887d9726 (patch) | |
tree | f09b5722d889852a9b2ffbfc512160221479c468 /lib/accelerated | |
parent | df6fdf3b1561820621844ef3ef4938b574797d9a (diff) | |
download | gnutls-beb87ad0f849f7a835f213dd70403c13887d9726.tar.gz |
corrected the SSSE3 optimized SHA224
Diffstat (limited to 'lib/accelerated')
-rw-r--r-- | lib/accelerated/x86/sha-x86-ssse3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/accelerated/x86/sha-x86-ssse3.c b/lib/accelerated/x86/sha-x86-ssse3.c index 17724f71ce..e9d8eab204 100644 --- a/lib/accelerated/x86/sha-x86-ssse3.c +++ b/lib/accelerated/x86/sha-x86-ssse3.c @@ -248,7 +248,7 @@ static int _ctx_init(gnutls_digest_algorithm_t algo, case GNUTLS_DIG_SHA224: sha224_init(&ctx->ctx.sha224); ctx->update = (update_func) x86_sha256_update; - ctx->digest = (digest_func) sha256_digest; + ctx->digest = (digest_func) sha224_digest; ctx->init = (init_func) sha224_init; ctx->ctx_ptr = &ctx->ctx.sha224; ctx->length = SHA224_DIGEST_SIZE; |