crypto: talitos - fix hashing
authorLEROY Christophe <christophe.leroy@c-s.fr>
Wed, 13 Sep 2017 10:44:57 +0000 (12:44 +0200)
committerpopcornmix <popcornmix@gmail.com>
Fri, 6 Oct 2017 12:06:49 +0000 (13:06 +0100)
commit1c1fd0d9bc5f5163418f3cec9a2ece153fcc3c73
tree6b13dcd8f7e84bb8e24d8831fe278c1b2716b789
parent1d35b040e2bf5e7cd2c0961aaaecb1e760a95e01
crypto: talitos - fix hashing

commit 886a27c0fc8a34633aadb0986dba11d8c150ae2e upstream.

md5sum on some files gives wrong result

Exemple:

With the md5sum from libkcapi:
c15115c05bad51113f81bdaee735dd09  test

With the original md5sum:
bbdf41d80ba7e8b2b7be3a0772be76cb  test

This patch fixes this issue

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