crypto: powerpc/sha - remove duplicate hash init function
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>
Mon, 20 Dec 2021 09:23:16 +0000 (17:23 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 31 Dec 2021 07:10:55 +0000 (18:10 +1100)
commit41ea0f6c19f6fa403370a9e40e4d500041eb4fc8
tree1d7c9cfbe87b62de10d9aeb66e46eddf1bb1e843
parent63bdbfc146aec8a414f07af8208f2488ffeacf32
crypto: powerpc/sha - remove duplicate hash init function

sha*_base_init() series functions has implemented the initialization
of the hash context, this commit use sha*_base_init() function to
replace repeated implementations.

Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/powerpc/crypto/sha1-spe-glue.c
arch/powerpc/crypto/sha1.c
arch/powerpc/crypto/sha256-spe-glue.c