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>
Showing
- crypto/Kconfig 0 additions, 18 deletionscrypto/Kconfig
- crypto/Makefile 0 additions, 8 deletionscrypto/Makefile
- crypto/asymmetric_keys/pkcs7_parser.c 0 additions, 4 deletionscrypto/asymmetric_keys/pkcs7_parser.c
- crypto/asymmetric_keys/public_key.c 0 additions, 7 deletionscrypto/asymmetric_keys/public_key.c
- crypto/asymmetric_keys/x509_cert_parser.c 0 additions, 16 deletionscrypto/asymmetric_keys/x509_cert_parser.c
- crypto/asymmetric_keys/x509_public_key.c 2 additions, 15 deletionscrypto/asymmetric_keys/x509_public_key.c
- crypto/sm2.c 0 additions, 498 deletionscrypto/sm2.c
- crypto/sm2signature.asn1 0 additions, 4 deletionscrypto/sm2signature.asn1
- crypto/testmgr.c 0 additions, 6 deletionscrypto/testmgr.c
- crypto/testmgr.h 0 additions, 59 deletionscrypto/testmgr.h
- include/crypto/sm2.h 0 additions, 28 deletionsinclude/crypto/sm2.h
- security/integrity/digsig_asymmetric.c 1 addition, 2 deletionssecurity/integrity/digsig_asymmetric.c
Please register or sign in to comment