crypto: sha256 - remove duplicate generic hash init function
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>
Mon, 20 Dec 2021 09:23:14 +0000 (17:23 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 31 Dec 2021 07:10:54 +0000 (18:10 +1100)
commit96ede30f4b172ab6c83789f6bb420b3c3c029653
tree2910feb1c6816cabd48358f5ae29816a91b070e2
parent908dffaf88a248e542bdae3ca174f27b8f4ccf37
crypto: sha256 - remove duplicate generic hash init function

crypto_sha256_init() and sha256_base_init() are the same repeated
implementations, remove the crypto_sha256_init() in generic
implementation, sha224 is the same process.

Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/sha256_generic.c