Hans de Goede c75c66bbaa crypto: sha256 - Remove sha256/224_init code duplication
lib/crypto/sha256.c and include/crypto/sha256_base.h define
99% identical functions to init a sha256_state struct for sha224 or
sha256 use.

This commit moves the functions from lib/crypto/sha256.c to
include/crypto/sha.h (making them static inline) and makes the
sha224/256_base_init static inline functions from
include/crypto/sha256_base.h wrappers around the now also
static inline include/crypto/sha.h functions.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2019-09-05 14:54:54 +10:00
..
2019-07-19 12:29:43 -07:00
2019-07-19 17:19:24 -07:00
2019-07-08 19:19:37 -07:00
2019-07-09 09:47:22 -07:00
2019-07-13 16:08:36 -07:00
2019-07-20 10:04:58 -07:00
2019-07-19 17:13:56 -07:00
2019-07-18 14:32:33 -07:00
2019-08-02 14:44:02 +10:00
2019-07-17 08:09:58 +02:00