]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit84a4430470f1586fead302e620edce563093a23d
treedb6ed9503ddf35105c4c9aa87d7d6232bf788900
parentc0060935b20446be0957035f18e059741b0351c9
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