crypto: sparc/sha - remove duplicate hash init function
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>
Mon, 20 Dec 2021 09:23:17 +0000 (17:23 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 31 Dec 2021 07:10:55 +0000 (18:10 +1100)
commite0583b6acb92683ba192c745f12ef31997e9b8b1
tree41cc990969e205a596363237428402b71f7bca3f
parent41ea0f6c19f6fa403370a9e40e4d500041eb4fc8
crypto: sparc/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/sparc/crypto/sha1_glue.c
arch/sparc/crypto/sha256_glue.c
arch/sparc/crypto/sha512_glue.c