hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/include/linux/oid_registry.h
....@@ -1,12 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* ASN.1 Object identifier (OID) registry
23 *
34 * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
45 * Written by David Howells (dhowells@redhat.com)
5
- *
6
- * This program is free software; you can redistribute it and/or
7
- * modify it under the terms of the GNU General Public Licence
8
- * as published by the Free Software Foundation; either version
9
- * 2 of the Licence, or (at your option) any later version.
106 */
117
128 #ifndef _LINUX_OID_REGISTRY_H
....@@ -93,6 +89,30 @@
9389 OID_authorityKeyIdentifier, /* 2.5.29.35 */
9490 OID_extKeyUsage, /* 2.5.29.37 */
9591
92
+ /* EC-RDSA */
93
+ OID_gostCPSignA, /* 1.2.643.2.2.35.1 */
94
+ OID_gostCPSignB, /* 1.2.643.2.2.35.2 */
95
+ OID_gostCPSignC, /* 1.2.643.2.2.35.3 */
96
+ OID_gost2012PKey256, /* 1.2.643.7.1.1.1.1 */
97
+ OID_gost2012PKey512, /* 1.2.643.7.1.1.1.2 */
98
+ OID_gost2012Digest256, /* 1.2.643.7.1.1.2.2 */
99
+ OID_gost2012Digest512, /* 1.2.643.7.1.1.2.3 */
100
+ OID_gost2012Signature256, /* 1.2.643.7.1.1.3.2 */
101
+ OID_gost2012Signature512, /* 1.2.643.7.1.1.3.3 */
102
+ OID_gostTC26Sign256A, /* 1.2.643.7.1.2.1.1.1 */
103
+ OID_gostTC26Sign256B, /* 1.2.643.7.1.2.1.1.2 */
104
+ OID_gostTC26Sign256C, /* 1.2.643.7.1.2.1.1.3 */
105
+ OID_gostTC26Sign256D, /* 1.2.643.7.1.2.1.1.4 */
106
+ OID_gostTC26Sign512A, /* 1.2.643.7.1.2.1.2.1 */
107
+ OID_gostTC26Sign512B, /* 1.2.643.7.1.2.1.2.2 */
108
+ OID_gostTC26Sign512C, /* 1.2.643.7.1.2.1.2.3 */
109
+
110
+ /* OSCCA */
111
+ OID_sm2, /* 1.2.156.10197.1.301 */
112
+ OID_sm3, /* 1.2.156.10197.1.401 */
113
+ OID_SM2_with_SM3, /* 1.2.156.10197.1.501 */
114
+ OID_sm3WithRSAEncryption, /* 1.2.156.10197.1.504 */
115
+
96116 OID__NR
97117 };
98118