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>
This commit is contained in:
parent
7547738d28
commit
4e6602916b
8 changed files with 671 additions and 11 deletions
4
crypto/ecdsasignature.asn1
Normal file
4
crypto/ecdsasignature.asn1
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
ECDSASignature ::= SEQUENCE {
|
||||
r INTEGER ({ ecdsa_get_signature_r }),
|
||||
s INTEGER ({ ecdsa_get_signature_s })
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue