summaryrefslogtreecommitdiff
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2024-05-31 18:20:03 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2024-06-07 19:46:39 +0800
commit46b3ff73afc815f1feb844e6b57e43cc13051544 (patch)
tree9316ecfa360d8597a60fb931a6a7651cda3b7e1a /crypto/testmgr.c
parent4c6338f8664b5f32d6ef0756a5afef64e50608dc (diff)
crypto: sm2 - Remove sm2 algorithm
The SM2 algorithm has a single user in the kernel. However, it's never been integrated properly with that user: asymmetric_keys. The crux of the issue is that the way it computes its digest with sm3 does not fit into the architecture of asymmetric_keys. As no solution has been proposed, remove this algorithm. It can be resubmitted when it is integrated properly into the asymmetric_keys subsystem. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/testmgr.c')
-rw-r--r--crypto/testmgr.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c
index 1b30e3565e80..a780b615f8c6 100644
--- a/crypto/testmgr.c
+++ b/crypto/testmgr.c
@@ -5609,12 +5609,6 @@ static const struct alg_test_desc alg_test_descs[] = {
.hash = __VECS(sha512_tv_template)
}
}, {
- .alg = "sm2",
- .test = alg_test_akcipher,
- .suite = {
- .akcipher = __VECS(sm2_tv_template)
- }
- }, {
.alg = "sm3",
.test = alg_test_hash,
.suite = {