]> git.ipfire.org Git - thirdparty/linux.git/commit
crypto: sm2 - Remove sm2 algorithm
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 31 May 2024 10:20:03 +0000 (18:20 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 7 Jun 2024 11:46:39 +0000 (19:46 +0800)
commit46b3ff73afc815f1feb844e6b57e43cc13051544
tree9316ecfa360d8597a60fb931a6a7651cda3b7e1a
parent4c6338f8664b5f32d6ef0756a5afef64e50608dc
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>
12 files changed:
crypto/Kconfig
crypto/Makefile
crypto/asymmetric_keys/pkcs7_parser.c
crypto/asymmetric_keys/public_key.c
crypto/asymmetric_keys/x509_cert_parser.c
crypto/asymmetric_keys/x509_public_key.c
crypto/sm2.c [deleted file]
crypto/sm2signature.asn1 [deleted file]
crypto/testmgr.c
crypto/testmgr.h
include/crypto/sm2.h [deleted file]
security/integrity/digsig_asymmetric.c