OSDN Git Service

crypto: sha256 - Add sha224 support to sha256 library code
authorHans de Goede <hdegoede@redhat.com>
Sat, 17 Aug 2019 14:24:34 +0000 (16:24 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Aug 2019 04:57:35 +0000 (14:57 +1000)
commit7d2f5b0c43e0bb346fbf78daefd68cd0bfc56ca3
treedb6ed9503ddf35105c4c9aa87d7d6232bf788900
parent01d3aee86625bd798a5e69afb92517d5530c7ed1
crypto: sha256 - Add sha224 support to sha256 library code

Add sha224 support to the lib/crypto/sha256 library code. This will allow
us to replace both the sha256 and sha224 parts of crypto/sha256_generic.c
when we remove the code duplication in further patches in this series.

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>
include/crypto/sha256.h
lib/crypto/sha256.c