crypto: talitos - fix hashing
authorLEROY Christophe <christophe.leroy@c-s.fr>
Wed, 13 Sep 2017 10:44:57 +0000 (12:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Oct 2017 07:44:00 +0000 (09:44 +0200)
commitb60f791ef32db376d55f047748615baee9dc63ef
tree80c8050020e188416c2d8e5b268b0d29661d9c46
parent1492259fc324d29184801b6244900abba394301e
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