]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: sha256_generic - Switch to the generic lib/crypto/sha256.c lib code
authorHans de Goede <hdegoede@redhat.com>
Sat, 17 Aug 2019 14:24:35 +0000 (16:24 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Aug 2019 04:57:35 +0000 (14:57 +1000)
commit41d3fe9b09630cd28f2fdd72952029040d786560
tree686b48f1dc19c0fae0433a644a339e2603eeb287
parent06711ce6597a1a3f2cc36804471a7d6f9d770c2d
crypto: sha256_generic - Switch to the generic lib/crypto/sha256.c lib code

Drop the duplicate generic sha256 (and sha224) implementation from
crypto/sha256_generic.c and use the implementation from
lib/crypto/sha256.c instead.

"diff -u lib/crypto/sha256.c sha256_generic.c" shows that the core
sha256_transform function from both implementations is identical and
the other code is functionally identical too.

Suggested-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Kconfig
crypto/sha256_generic.c