crypto: talitos - fix sha224
authorLEROY Christophe <christophe.leroy@c-s.fr>
Wed, 13 Sep 2017 10:44:51 +0000 (12:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Oct 2017 07:41:45 +0000 (09:41 +0200)
commit362711d59b0c854431ba7e5a645ee8f65e75b459
treeded18188375c401f4e1312de8b5bd59b0818549e
parent231c4f646b7767c9b5a52d3dcd55df588112208b
crypto: talitos - fix sha224

commit afd62fa26343be6445479e75de9f07092a061459 upstream.

Kernel crypto tests report the following error at startup

[    2.752626] alg: hash: Test 4 failed for sha224-talitos
[    2.757907] 00000000: 30 e2 86 e2 e7 8a dd 0d d7 eb 9f d5 83 fe f1 b0
00000010: 2d 5a 6c a5 f9 55 ea fd 0e 72 05 22

This patch fixes it

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/crypto/talitos.c