x509: Add OID for NIST P384 and extend parser for it
authorSaulo Alessandre <saulo.alessandre@tse.jus.br>
Tue, 16 Mar 2021 21:07:39 +0000 (17:07 -0400)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 26 Mar 2021 08:41:59 +0000 (19:41 +1100)
commit2a8e615436de4cd59a7b0af43590ede899906bdf
tree986b5e43d35c530527e404c5e302e1e703fa7457
parent947d70597236dd5ae65c1f68c8eabfb962ee5a6b
x509: Add OID for NIST P384 and extend parser for it

Prepare the x509 parser to accept NIST P384 certificates and add the
OID for ansip384r1, which is the identifier for NIST P384.

Summary of changes:

* crypto/asymmetric_keys/x509_cert_parser.c
  - prepare x509 parser to load NIST P384

* include/linux/oid_registry.h
  - add OID_ansip384r1

Signed-off-by: Saulo Alessandre <saulo.alessandre@tse.jus.br>
Tested-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/asymmetric_keys/x509_cert_parser.c
include/linux/oid_registry.h