]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9a55770a128736bd2458d19c07485af0a710a033
tree986b5e43d35c530527e404c5e302e1e703fa7457
parent0f7c8743c0bacc35a3a51d9c5ede39a62a6c43e2
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