crypto: mips/sha - remove duplicate hash init function
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>
Mon, 20 Dec 2021 09:23:15 +0000 (17:23 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 31 Dec 2021 07:10:54 +0000 (18:10 +1100)
commit63bdbfc146aec8a414f07af8208f2488ffeacf32
treea913ea3c9d096a83efd97b97a666e6b1d54deda6
parent96ede30f4b172ab6c83789f6bb420b3c3c029653
crypto: mips/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/mips/cavium-octeon/crypto/octeon-sha1.c
arch/mips/cavium-octeon/crypto/octeon-sha256.c
arch/mips/cavium-octeon/crypto/octeon-sha512.c