提交 228b4e42 编写于 作者: D Dr. Stephen Henson

Update and add last (?) set of GOST OIDs.

上级 a4974de9
......@@ -62,12 +62,12 @@
* [including the GNU Public Licence.]
*/
#define NUM_NID 800
#define NUM_SN 796
#define NUM_LN 796
#define NUM_OBJ 758
#define NUM_NID 802
#define NUM_SN 798
#define NUM_LN 798
#define NUM_OBJ 760
static unsigned char lvalues[5333]={
static unsigned char lvalues[5345]={
0x00, /* [ 0] OBJ_undef */
0x2A,0x86,0x48,0x86,0xF7,0x0D, /* [ 1] OBJ_rsadsi */
0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01, /* [ 7] OBJ_pkcs */
......@@ -826,6 +826,8 @@ static unsigned char lvalues[5333]={
0x2A,0x85,0x03,0x02,0x09,0x01,0x03,0x03, /* [5308] OBJ_id_GostR3410_11_94_with_GostR3411_94_cc */
0x2A,0x85,0x03,0x02,0x09,0x01,0x03,0x04, /* [5316] OBJ_id_GostR3410_2001_with_GostR3411_94_cc */
0x2A,0x85,0x03,0x02,0x09,0x01,0x08,0x01, /* [5324] OBJ_id_GostR3410_2001_ParamSet_cc */
0x2A,0x85,0x03,0x02,0x02,0x09, /* [5332] OBJ_id_GostR3411_94 */
0x2A,0x85,0x03,0x02,0x02,0x17, /* [5338] OBJ_id_GostR3411_94_prf */
};
static ASN1_OBJECT nid_objs[NUM_NID]={
......@@ -2103,7 +2105,7 @@ static ASN1_OBJECT nid_objs[NUM_NID]={
&(lvalues[5270]),0},
{"id-GostR3410-94-bBis","id-GostR3410-94-bBis",
NID_id_GostR3410_94_bBis,7,&(lvalues[5277]),0},
{"id-Gost28147-89-cc","GOST 28147-89 Cryptocom",
{"id-Gost28147-89-cc","GOST 28147-89 Cryptocom ParamSet",
NID_id_Gost28147_89_cc,8,&(lvalues[5284]),0},
{"gost94cc","GOST 34.10-94 Cryptocom",NID_id_Gost3410_94_cc,8,
&(lvalues[5292]),0},
......@@ -2118,6 +2120,9 @@ static ASN1_OBJECT nid_objs[NUM_NID]={
{"id-GostR3410-2001-ParamSet-cc",
"GOST R 3410-2001 Parameter Set Cryptocom",
NID_id_GostR3410_2001_ParamSet_cc,8,&(lvalues[5324]),0},
{"md_gost94","GOST R 34.11-94",NID_id_GostR3411_94,6,&(lvalues[5332]),0},
{"prf-gostr3411-94","GOST R 34.11-94 PRF",NID_id_GostR3411_94_prf,6,
&(lvalues[5338]),0},
};
static ASN1_OBJECT *sn_objs[NUM_SN]={
......@@ -2613,6 +2618,7 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={
&(nid_objs[460]),/* "mail" */
&(nid_objs[493]),/* "mailPreferenceOption" */
&(nid_objs[467]),/* "manager" */
&(nid_objs[800]),/* "md_gost94" */
&(nid_objs[182]),/* "member-body" */
&(nid_objs[51]),/* "messageDigest" */
&(nid_objs[383]),/* "mgmt" */
......@@ -2681,6 +2687,7 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={
&(nid_objs[738]),/* "policyMappings" */
&(nid_objs[661]),/* "postalCode" */
&(nid_objs[669]),/* "ppBasis" */
&(nid_objs[801]),/* "prf-gostr3411-94" */
&(nid_objs[406]),/* "prime-field" */
&(nid_objs[409]),/* "prime192v1" */
&(nid_objs[410]),/* "prime192v2" */
......@@ -2937,7 +2944,7 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={
&(nid_objs[372]),/* "Extended OCSP Status" */
&(nid_objs[172]),/* "Extension Request" */
&(nid_objs[784]),/* "GOST 28147-89" */
&(nid_objs[794]),/* "GOST 28147-89 Cryptocom" */
&(nid_objs[794]),/* "GOST 28147-89 Cryptocom ParamSet" */
&(nid_objs[785]),/* "GOST 28147-89 MAC" */
&(nid_objs[796]),/* "GOST 34.10-2001 Cryptocom" */
&(nid_objs[795]),/* "GOST 34.10-94 Cryptocom" */
......@@ -2947,6 +2954,8 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={
&(nid_objs[798]),/* "GOST R 34.10-2001 with GOST R 34.10-94 Cryptocom" */
&(nid_objs[757]),/* "GOST R 34.10-94" */
&(nid_objs[787]),/* "GOST R 34.10-94 DH" */
&(nid_objs[800]),/* "GOST R 34.11-94" */
&(nid_objs[801]),/* "GOST R 34.11-94 PRF" */
&(nid_objs[754]),/* "GOST R 34.11-94 with GOST R 34.10-2001" */
&(nid_objs[755]),/* "GOST R 34.11-94 with GOST R 34.10-94" */
&(nid_objs[799]),/* "GOST R 3410-2001 Parameter Set Cryptocom" */
......@@ -3992,11 +4001,13 @@ static ASN1_OBJECT *obj_objs[NUM_OBJ]={
&(nid_objs[125]),/* OBJ_zlib_compression 1 1 1 1 666 2 */
&(nid_objs[754]),/* OBJ_id_GostR3411_94_with_GostR3410_2001 1 2 643 2 2 3 */
&(nid_objs[755]),/* OBJ_id_GostR3411_94_with_GostR3410_94 1 2 643 2 2 4 */
&(nid_objs[800]),/* OBJ_id_GostR3411_94 1 2 643 2 2 9 */
&(nid_objs[783]),/* OBJ_id_HMACGostR3411_94 1 2 643 2 2 10 */
&(nid_objs[756]),/* OBJ_id_GostR3410_2001 1 2 643 2 2 19 */
&(nid_objs[757]),/* OBJ_id_GostR3410_94 1 2 643 2 2 20 */
&(nid_objs[784]),/* OBJ_id_Gost28147_89 1 2 643 2 2 21 */
&(nid_objs[785]),/* OBJ_id_Gost28147_89_MAC 1 2 643 2 2 22 */
&(nid_objs[801]),/* OBJ_id_GostR3411_94_prf 1 2 643 2 2 23 */
&(nid_objs[786]),/* OBJ_id_GostR3410_2001DH 1 2 643 2 2 98 */
&(nid_objs[787]),/* OBJ_id_GostR3410_94DH 1 2 643 2 2 99 */
&(nid_objs[ 1]),/* OBJ_rsadsi 1 2 840 113549 */
......
......@@ -3330,6 +3330,11 @@
#define NID_id_GostR3411_94_with_GostR3410_94 755
#define OBJ_id_GostR3411_94_with_GostR3410_94 OBJ_cryptopro,4L
#define SN_id_GostR3411_94 "md_gost94"
#define LN_id_GostR3411_94 "GOST R 34.11-94"
#define NID_id_GostR3411_94 800
#define OBJ_id_GostR3411_94 OBJ_cryptopro,9L
#define SN_id_HMACGostR3411_94 "id-HMACGostR3411-94"
#define LN_id_HMACGostR3411_94 "HMAC GOST 34.11-94"
#define NID_id_HMACGostR3411_94 783
......@@ -3355,6 +3360,11 @@
#define NID_id_Gost28147_89_MAC 785
#define OBJ_id_Gost28147_89_MAC OBJ_cryptopro,22L
#define SN_id_GostR3411_94_prf "prf-gostr3411-94"
#define LN_id_GostR3411_94_prf "GOST R 34.11-94 PRF"
#define NID_id_GostR3411_94_prf 801
#define OBJ_id_GostR3411_94_prf OBJ_cryptopro,23L
#define SN_id_GostR3410_2001DH "id-GostR3410-2001DH"
#define LN_id_GostR3410_2001DH "GOST R 34.10-2001 DH"
#define NID_id_GostR3410_2001DH 786
......@@ -3486,7 +3496,7 @@
#define OBJ_id_GostR3410_94_bBis OBJ_id_GostR3410_94,4L
#define SN_id_Gost28147_89_cc "id-Gost28147-89-cc"
#define LN_id_Gost28147_89_cc "GOST 28147-89 Cryptocom"
#define LN_id_Gost28147_89_cc "GOST 28147-89 Cryptocom ParamSet"
#define NID_id_Gost28147_89_cc 794
#define OBJ_id_Gost28147_89_cc OBJ_cryptocom,1L,6L,1L
......
......@@ -797,3 +797,5 @@ id_Gost3410_2001_cc 796
id_GostR3410_11_94_with_GostR3411_94_cc 797
id_GostR3410_2001_with_GostR3411_94_cc 798
id_GostR3410_2001_ParamSet_cc 799
id_GostR3411_94 800
id_GostR3411_94_prf 801
......@@ -1056,8 +1056,11 @@ iso 0 10118 3 0 55 : whirlpool
member-body 643 2 2 : cryptopro
member-body 643 2 9 : cryptocom
cryptopro 3 : id-GostR3411-94-with-GostR3410-2001 : GOST R 34.11-94 with GOST R 34.10-2001
cryptopro 4 : id-GostR3411-94-with-GostR3410-94 : GOST R 34.11-94 with GOST R 34.10-94
!Cname id-GostR3411-94
cryptopro 9 : md_gost94 : GOST R 34.11-94
cryptopro 10 : id-HMACGostR3411-94 : HMAC GOST 34.11-94
!Cname id-GostR3410-2001
cryptopro 19 : gost2001 : GOST R 34.10-2001
......@@ -1065,6 +1068,8 @@ cryptopro 19 : gost2001 : GOST R 34.10-2001
cryptopro 20 : gost94 : GOST R 34.10-94
cryptopro 21 : id-Gost28147-89 : GOST 28147-89
cryptopro 22 : id-Gost28147-89-MAC : GOST 28147-89 MAC
!Cname id-GostR3411-94-prf
cryptopro 23 : prf-gostr3411-94 : GOST R 34.11-94 PRF
cryptopro 98 : id-GostR3410-2001DH : GOST R 34.10-2001 DH
cryptopro 99 : id-GostR3410-94DH : GOST R 34.10-94 DH
......@@ -1110,7 +1115,7 @@ id-GostR3410-94 4 : id-GostR3410-94-bBis
# Cryptocom LTD GOST OIDs
cryptocom 1 6 1 : id-Gost28147-89-cc : GOST 28147-89 Cryptocom
cryptocom 1 6 1 : id-Gost28147-89-cc : GOST 28147-89 Cryptocom ParamSet
!Cname id-Gost3410-94-cc
cryptocom 1 5 3 : gost94cc : GOST 34.10-94 Cryptocom
!Cname id-Gost3410-2001-cc
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册