crypto: ecdsa - Add support for ECDSA signature verification
authorStefan Berger <stefanb@linux.ibm.com>
Tue, 16 Mar 2021 21:07:32 +0000 (17:07 -0400)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 26 Mar 2021 08:41:58 +0000 (19:41 +1100)
commit4e6602916bc692ee31ac5b8bd8195fb078556844
tree94f5e1d9f2819521eac2590b3dc95490e13e3437
parent7547738d28dd572d40e0e1c1f854c80e3cb41bec
crypto: ecdsa - Add support for ECDSA signature verification

Add support for parsing the parameters of a NIST P256 or NIST P192 key.
Enable signature verification using these keys. The new module is
enabled with CONFIG_ECDSA:
  Elliptic Curve Digital Signature Algorithm (NIST P192, P256 etc.)
  is A NIST cryptographic standard algorithm. Only signature verification
  is implemented.

Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: linux-crypto@vger.kernel.org
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Kconfig
crypto/Makefile
crypto/ecc.c
crypto/ecc.h
crypto/ecdsa.c [new file with mode: 0644]
crypto/ecdsasignature.asn1 [new file with mode: 0644]
crypto/testmgr.c
crypto/testmgr.h