Messages in this thread | | | Date | Wed, 22 Jan 2020 13:57:42 +0800 | From | Herbert Xu <> | Subject | Re: [PATCH 3/6] crypto: sm2 - introduce OSCCA SM2 asymmetric cipher algorithm |
| |
Tianjia Zhang <tianjia.zhang@linux.alibaba.com> wrote: > This new module implement the SM2 public key algorithm. It was > published by State Encryption Management Bureau, China. > List of specifications for SM2 elliptic curve public key cryptography: > > * GM/T 0003.1-2012 > * GM/T 0003.2-2012 > * GM/T 0003.3-2012 > * GM/T 0003.4-2012 > * GM/T 0003.5-2012 > > IETF: https://tools.ietf.org/html/draft-shen-sm2-ecdsa-02 > oscca: http://www.oscca.gov.cn/sca/xxgk/2010-12/17/content_1002386.shtml > scctc: http://www.gmbz.org.cn/main/bzlb.html > > Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com> > --- > crypto/Kconfig | 17 + > crypto/Makefile | 10 + > crypto/sm2.c | 1073 ++++++++++++++++++++++++++++++++++++++++ > crypto/sm2privkey.asn1 | 5 + > crypto/sm2pubkey.asn1 | 3 + > 5 files changed, 1108 insertions(+) > create mode 100644 crypto/sm2.c > create mode 100644 crypto/sm2privkey.asn1 > create mode 100644 crypto/sm2pubkey.asn1
We don't add algorithms unless they have a kernel user. Who is going to use this within the kernel?
Cheers, -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |