]> 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)
commitd6413b7d9b6694e6e5f26ab2faaa46cc04b3e29f
tree986b5e43d35c530527e404c5e302e1e703fa7457
parent4f8443593951f5381ec9db0ccb399e157a94bd6f
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