crypto: sm3 - make dependent on sm3 library
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>
Fri, 7 Jan 2022 12:06:58 +0000 (20:06 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 28 Jan 2022 05:51:11 +0000 (16:51 +1100)
commitb4784a45ea69577f21f89898c71127774a090a2a
tree344132b86c622304e1f1404f008e43d95ddad110
parent114004696bf23499ca834e784d91bd82de195d76
crypto: sm3 - make dependent on sm3 library

SM3 generic library is stand-alone implementation, it is necessary
making the sm3-generic implementation to depends on SM3 library.
The functions crypto_sm3_*() provided by sm3_generic is no longer
exported.

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