diff options
| author | Stefan Berger <[email protected]> | 2024-04-04 10:18:56 -0400 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2024-04-12 15:07:52 +0800 |
| commit | 3ba2ae361402f28754adf873954a22bf97b856a9 (patch) | |
| tree | 105b00fc0a46542a23cc50f363fe77b6a7f11511 /include/linux | |
| parent | 4dc50330a437e91063c68da074574bf6459d68a5 (diff) | |
crypto: x509 - Add OID for NIST P521 and extend parser for it
Enable the x509 parser to accept NIST P521 certificates and add the
OID for ansip521r1, which is the identifier for NIST P521.
Cc: David Howells <[email protected]>
Tested-by: Lukas Wunner <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Stefan Berger <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/oid_registry.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/oid_registry.h b/include/linux/oid_registry.h index 51421fdbb0ba..6f9242259edc 100644 --- a/include/linux/oid_registry.h +++ b/include/linux/oid_registry.h @@ -69,6 +69,7 @@ enum OID { OID_certAuthInfoAccess, /* 1.3.6.1.5.5.7.1.1 */ OID_sha1, /* 1.3.14.3.2.26 */ OID_id_ansip384r1, /* 1.3.132.0.34 */ + OID_id_ansip521r1, /* 1.3.132.0.35 */ OID_sha256, /* 2.16.840.1.101.3.4.2.1 */ OID_sha384, /* 2.16.840.1.101.3.4.2.2 */ OID_sha512, /* 2.16.840.1.101.3.4.2.3 */ |