Version bump
This commit is contained in:
@@ -213,7 +213,7 @@ int OBJ_add_object(const ASN1_OBJECT *obj)
|
||||
err:
|
||||
for (i = ADDED_DATA; i <= ADDED_NID; i++)
|
||||
OPENSSL_free(ao[i]);
|
||||
OPENSSL_free(o);
|
||||
ASN1_OBJECT_free(o);
|
||||
return NID_undef;
|
||||
}
|
||||
|
||||
|
||||
+120
-5
@@ -10,7 +10,7 @@
|
||||
*/
|
||||
|
||||
/* Serialized OID's */
|
||||
static const unsigned char so[7342] = {
|
||||
static const unsigned char so[7595] = {
|
||||
0x2A,0x86,0x48,0x86,0xF7,0x0D, /* [ 0] OBJ_rsadsi */
|
||||
0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01, /* [ 6] OBJ_pkcs */
|
||||
0x2A,0x86,0x48,0x86,0xF7,0x0D,0x02,0x02, /* [ 13] OBJ_md2 */
|
||||
@@ -1032,9 +1032,32 @@ static const unsigned char so[7342] = {
|
||||
0x2A,0x81,0x1C,0xCF,0x55,0x01,0x83,0x78, /* [ 7315] OBJ_sm3WithRSAEncryption */
|
||||
0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x01,0x0F, /* [ 7323] OBJ_sha512_224WithRSAEncryption */
|
||||
0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x01,0x10, /* [ 7332] OBJ_sha512_256WithRSAEncryption */
|
||||
0x2A,0x85,0x03,0x07,0x01,0x02,0x01,0x01, /* [ 7341] OBJ_id_tc26_gost_3410_2012_256_constants */
|
||||
0x2A,0x85,0x03,0x07,0x01,0x02,0x01,0x01,0x01, /* [ 7349] OBJ_id_tc26_gost_3410_2012_256_paramSetA */
|
||||
0x2A,0x85,0x03,0x07,0x01,0x02,0x01,0x02,0x03, /* [ 7358] OBJ_id_tc26_gost_3410_2012_512_paramSetC */
|
||||
0x2A,0x86,0x24, /* [ 7367] OBJ_ISO_UA */
|
||||
0x2A,0x86,0x24,0x02,0x01,0x01,0x01, /* [ 7370] OBJ_ua_pki */
|
||||
0x2A,0x86,0x24,0x02,0x01,0x01,0x01,0x01,0x01,0x01, /* [ 7377] OBJ_dstu28147 */
|
||||
0x2A,0x86,0x24,0x02,0x01,0x01,0x01,0x01,0x01,0x01,0x02, /* [ 7387] OBJ_dstu28147_ofb */
|
||||
0x2A,0x86,0x24,0x02,0x01,0x01,0x01,0x01,0x01,0x01,0x03, /* [ 7398] OBJ_dstu28147_cfb */
|
||||
0x2A,0x86,0x24,0x02,0x01,0x01,0x01,0x01,0x01,0x01,0x05, /* [ 7409] OBJ_dstu28147_wrap */
|
||||
0x2A,0x86,0x24,0x02,0x01,0x01,0x01,0x01,0x01,0x02, /* [ 7420] OBJ_hmacWithDstu34311 */
|
||||
0x2A,0x86,0x24,0x02,0x01,0x01,0x01,0x01,0x02,0x01, /* [ 7430] OBJ_dstu34311 */
|
||||
0x2A,0x86,0x24,0x02,0x01,0x01,0x01,0x01,0x03,0x01,0x01, /* [ 7440] OBJ_dstu4145le */
|
||||
0x2A,0x86,0x24,0x02,0x01,0x01,0x01,0x01,0x03,0x01,0x01,0x01,0x01, /* [ 7451] OBJ_dstu4145be */
|
||||
0x2A,0x86,0x24,0x02,0x01,0x01,0x01,0x01,0x03,0x01,0x01,0x02,0x00, /* [ 7464] OBJ_uacurve0 */
|
||||
0x2A,0x86,0x24,0x02,0x01,0x01,0x01,0x01,0x03,0x01,0x01,0x02,0x01, /* [ 7477] OBJ_uacurve1 */
|
||||
0x2A,0x86,0x24,0x02,0x01,0x01,0x01,0x01,0x03,0x01,0x01,0x02,0x02, /* [ 7490] OBJ_uacurve2 */
|
||||
0x2A,0x86,0x24,0x02,0x01,0x01,0x01,0x01,0x03,0x01,0x01,0x02,0x03, /* [ 7503] OBJ_uacurve3 */
|
||||
0x2A,0x86,0x24,0x02,0x01,0x01,0x01,0x01,0x03,0x01,0x01,0x02,0x04, /* [ 7516] OBJ_uacurve4 */
|
||||
0x2A,0x86,0x24,0x02,0x01,0x01,0x01,0x01,0x03,0x01,0x01,0x02,0x05, /* [ 7529] OBJ_uacurve5 */
|
||||
0x2A,0x86,0x24,0x02,0x01,0x01,0x01,0x01,0x03,0x01,0x01,0x02,0x06, /* [ 7542] OBJ_uacurve6 */
|
||||
0x2A,0x86,0x24,0x02,0x01,0x01,0x01,0x01,0x03,0x01,0x01,0x02,0x07, /* [ 7555] OBJ_uacurve7 */
|
||||
0x2A,0x86,0x24,0x02,0x01,0x01,0x01,0x01,0x03,0x01,0x01,0x02,0x08, /* [ 7568] OBJ_uacurve8 */
|
||||
0x2A,0x86,0x24,0x02,0x01,0x01,0x01,0x01,0x03,0x01,0x01,0x02,0x09, /* [ 7581] OBJ_uacurve9 */
|
||||
};
|
||||
|
||||
#define NUM_NID 1147
|
||||
#define NUM_NID 1170
|
||||
static const ASN1_OBJECT nid_objs[NUM_NID] = {
|
||||
{"UNDEF", "undefined", NID_undef},
|
||||
{"rsadsi", "RSA Data Security, Inc.", NID_rsadsi, 6, &so[0]},
|
||||
@@ -2183,9 +2206,32 @@ static const ASN1_OBJECT nid_objs[NUM_NID] = {
|
||||
{"RSA-SM3", "sm3WithRSAEncryption", NID_sm3WithRSAEncryption, 8, &so[7315]},
|
||||
{"RSA-SHA512/224", "sha512-224WithRSAEncryption", NID_sha512_224WithRSAEncryption, 9, &so[7323]},
|
||||
{"RSA-SHA512/256", "sha512-256WithRSAEncryption", NID_sha512_256WithRSAEncryption, 9, &so[7332]},
|
||||
{"id-tc26-gost-3410-2012-256-constants", "id-tc26-gost-3410-2012-256-constants", NID_id_tc26_gost_3410_2012_256_constants, 8, &so[7341]},
|
||||
{"id-tc26-gost-3410-2012-256-paramSetA", "GOST R 34.10-2012 (256 bit) ParamSet A", NID_id_tc26_gost_3410_2012_256_paramSetA, 9, &so[7349]},
|
||||
{"id-tc26-gost-3410-2012-512-paramSetC", "GOST R 34.10-2012 (512 bit) ParamSet C", NID_id_tc26_gost_3410_2012_512_paramSetC, 9, &so[7358]},
|
||||
{"ISO-UA", "ISO-UA", NID_ISO_UA, 3, &so[7367]},
|
||||
{"ua-pki", "ua-pki", NID_ua_pki, 7, &so[7370]},
|
||||
{"dstu28147", "DSTU Gost 28147-2009", NID_dstu28147, 10, &so[7377]},
|
||||
{"dstu28147-ofb", "DSTU Gost 28147-2009 OFB mode", NID_dstu28147_ofb, 11, &so[7387]},
|
||||
{"dstu28147-cfb", "DSTU Gost 28147-2009 CFB mode", NID_dstu28147_cfb, 11, &so[7398]},
|
||||
{"dstu28147-wrap", "DSTU Gost 28147-2009 key wrap", NID_dstu28147_wrap, 11, &so[7409]},
|
||||
{"hmacWithDstu34311", "HMAC DSTU Gost 34311-95", NID_hmacWithDstu34311, 10, &so[7420]},
|
||||
{"dstu34311", "DSTU Gost 34311-95", NID_dstu34311, 10, &so[7430]},
|
||||
{"dstu4145le", "DSTU 4145-2002 little endian", NID_dstu4145le, 11, &so[7440]},
|
||||
{"dstu4145be", "DSTU 4145-2002 big endian", NID_dstu4145be, 13, &so[7451]},
|
||||
{"uacurve0", "DSTU curve 0", NID_uacurve0, 13, &so[7464]},
|
||||
{"uacurve1", "DSTU curve 1", NID_uacurve1, 13, &so[7477]},
|
||||
{"uacurve2", "DSTU curve 2", NID_uacurve2, 13, &so[7490]},
|
||||
{"uacurve3", "DSTU curve 3", NID_uacurve3, 13, &so[7503]},
|
||||
{"uacurve4", "DSTU curve 4", NID_uacurve4, 13, &so[7516]},
|
||||
{"uacurve5", "DSTU curve 5", NID_uacurve5, 13, &so[7529]},
|
||||
{"uacurve6", "DSTU curve 6", NID_uacurve6, 13, &so[7542]},
|
||||
{"uacurve7", "DSTU curve 7", NID_uacurve7, 13, &so[7555]},
|
||||
{"uacurve8", "DSTU curve 8", NID_uacurve8, 13, &so[7568]},
|
||||
{"uacurve9", "DSTU curve 9", NID_uacurve9, 13, &so[7581]},
|
||||
};
|
||||
|
||||
#define NUM_SN 1138
|
||||
#define NUM_SN 1161
|
||||
static const unsigned int sn_objs[NUM_SN] = {
|
||||
364, /* "AD_DVCS" */
|
||||
419, /* "AES-128-CBC" */
|
||||
@@ -2345,6 +2391,7 @@ static const unsigned int sn_objs[NUM_SN] = {
|
||||
1004, /* "INN" */
|
||||
181, /* "ISO" */
|
||||
1140, /* "ISO-CN" */
|
||||
1150, /* "ISO-UA" */
|
||||
183, /* "ISO-US" */
|
||||
645, /* "ITU-T" */
|
||||
646, /* "JOINT-ISO-ITU-T" */
|
||||
@@ -2605,6 +2652,13 @@ static const unsigned int sn_objs[NUM_SN] = {
|
||||
452, /* "domainRelatedObject" */
|
||||
802, /* "dsa_with_SHA224" */
|
||||
803, /* "dsa_with_SHA256" */
|
||||
1152, /* "dstu28147" */
|
||||
1154, /* "dstu28147-cfb" */
|
||||
1153, /* "dstu28147-ofb" */
|
||||
1155, /* "dstu28147-wrap" */
|
||||
1157, /* "dstu34311" */
|
||||
1159, /* "dstu4145be" */
|
||||
1158, /* "dstu4145le" */
|
||||
791, /* "ecdsa-with-Recommended" */
|
||||
416, /* "ecdsa-with-SHA1" */
|
||||
793, /* "ecdsa-with-SHA224" */
|
||||
@@ -2653,6 +2707,7 @@ static const unsigned int sn_objs[NUM_SN] = {
|
||||
1012, /* "grasshopper-ecb" */
|
||||
1017, /* "grasshopper-mac" */
|
||||
1014, /* "grasshopper-ofb" */
|
||||
1156, /* "hmacWithDstu34311" */
|
||||
797, /* "hmacWithMD5" */
|
||||
163, /* "hmacWithSHA1" */
|
||||
798, /* "hmacWithSHA224" */
|
||||
@@ -2940,9 +2995,12 @@ static const unsigned int sn_objs[NUM_SN] = {
|
||||
1000, /* "id-tc26-digest-constants" */
|
||||
1002, /* "id-tc26-gost-28147-constants" */
|
||||
1003, /* "id-tc26-gost-28147-param-Z" */
|
||||
1147, /* "id-tc26-gost-3410-2012-256-constants" */
|
||||
1148, /* "id-tc26-gost-3410-2012-256-paramSetA" */
|
||||
996, /* "id-tc26-gost-3410-2012-512-constants" */
|
||||
998, /* "id-tc26-gost-3410-2012-512-paramSetA" */
|
||||
999, /* "id-tc26-gost-3410-2012-512-paramSetB" */
|
||||
1149, /* "id-tc26-gost-3410-2012-512-paramSetC" */
|
||||
997, /* "id-tc26-gost-3410-2012-512-paramSetTest" */
|
||||
988, /* "id-tc26-hmac-gost-3411-2012-256" */
|
||||
989, /* "id-tc26-hmac-gost-3411-2012-512" */
|
||||
@@ -3297,6 +3355,17 @@ static const unsigned int sn_objs[NUM_SN] = {
|
||||
1020, /* "tlsfeature" */
|
||||
682, /* "tpBasis" */
|
||||
375, /* "trustRoot" */
|
||||
1151, /* "ua-pki" */
|
||||
1160, /* "uacurve0" */
|
||||
1161, /* "uacurve1" */
|
||||
1162, /* "uacurve2" */
|
||||
1163, /* "uacurve3" */
|
||||
1164, /* "uacurve4" */
|
||||
1165, /* "uacurve5" */
|
||||
1166, /* "uacurve6" */
|
||||
1167, /* "uacurve7" */
|
||||
1168, /* "uacurve8" */
|
||||
1169, /* "uacurve9" */
|
||||
436, /* "ucl" */
|
||||
102, /* "uid" */
|
||||
888, /* "uniqueMember" */
|
||||
@@ -3327,7 +3396,7 @@ static const unsigned int sn_objs[NUM_SN] = {
|
||||
1093, /* "x509ExtAdmission" */
|
||||
};
|
||||
|
||||
#define NUM_LN 1138
|
||||
#define NUM_LN 1161
|
||||
static const unsigned int ln_objs[NUM_LN] = {
|
||||
363, /* "AD Time Stamping" */
|
||||
405, /* "ANSI X9.62" */
|
||||
@@ -3348,6 +3417,23 @@ static const unsigned int ln_objs[NUM_LN] = {
|
||||
131, /* "Code Signing" */
|
||||
1024, /* "Ctrl/Provision WAP Termination" */
|
||||
1023, /* "Ctrl/provision WAP Access" */
|
||||
1159, /* "DSTU 4145-2002 big endian" */
|
||||
1158, /* "DSTU 4145-2002 little endian" */
|
||||
1152, /* "DSTU Gost 28147-2009" */
|
||||
1154, /* "DSTU Gost 28147-2009 CFB mode" */
|
||||
1153, /* "DSTU Gost 28147-2009 OFB mode" */
|
||||
1155, /* "DSTU Gost 28147-2009 key wrap" */
|
||||
1157, /* "DSTU Gost 34311-95" */
|
||||
1160, /* "DSTU curve 0" */
|
||||
1161, /* "DSTU curve 1" */
|
||||
1162, /* "DSTU curve 2" */
|
||||
1163, /* "DSTU curve 3" */
|
||||
1164, /* "DSTU curve 4" */
|
||||
1165, /* "DSTU curve 5" */
|
||||
1166, /* "DSTU curve 6" */
|
||||
1167, /* "DSTU curve 7" */
|
||||
1168, /* "DSTU curve 8" */
|
||||
1169, /* "DSTU curve 9" */
|
||||
783, /* "Diffie-Hellman based MAC" */
|
||||
382, /* "Directory" */
|
||||
392, /* "Domain" */
|
||||
@@ -3366,8 +3452,10 @@ static const unsigned int ln_objs[NUM_LN] = {
|
||||
850, /* "GOST 34.10-94 Cryptocom" */
|
||||
811, /* "GOST R 34.10-2001" */
|
||||
817, /* "GOST R 34.10-2001 DH" */
|
||||
1148, /* "GOST R 34.10-2012 (256 bit) ParamSet A" */
|
||||
998, /* "GOST R 34.10-2012 (512 bit) ParamSet A" */
|
||||
999, /* "GOST R 34.10-2012 (512 bit) ParamSet B" */
|
||||
1149, /* "GOST R 34.10-2012 (512 bit) ParamSet C" */
|
||||
997, /* "GOST R 34.10-2012 (512 bit) testing parameter set" */
|
||||
979, /* "GOST R 34.10-2012 with 256 bit modulus" */
|
||||
980, /* "GOST R 34.10-2012 with 512 bit modulus" */
|
||||
@@ -3384,6 +3472,7 @@ static const unsigned int ln_objs[NUM_LN] = {
|
||||
808, /* "GOST R 34.11-94 with GOST R 34.10-94" */
|
||||
852, /* "GOST R 34.11-94 with GOST R 34.10-94 Cryptocom" */
|
||||
854, /* "GOST R 3410-2001 Parameter Set Cryptocom" */
|
||||
1156, /* "HMAC DSTU Gost 34311-95" */
|
||||
988, /* "HMAC GOST 34.11-2012 256 bit" */
|
||||
989, /* "HMAC GOST 34.11-2012 512 bit" */
|
||||
810, /* "HMAC GOST 34.11-94" */
|
||||
@@ -3399,6 +3488,7 @@ static const unsigned int ln_objs[NUM_LN] = {
|
||||
1140, /* "ISO CN Member Body" */
|
||||
182, /* "ISO Member Body" */
|
||||
183, /* "ISO US Member Body" */
|
||||
1150, /* "ISO-UA" */
|
||||
667, /* "Independent" */
|
||||
665, /* "Inherit all" */
|
||||
647, /* "International Organizations" */
|
||||
@@ -4056,6 +4146,7 @@ static const unsigned int ln_objs[NUM_LN] = {
|
||||
981, /* "id-tc26-digest" */
|
||||
1000, /* "id-tc26-digest-constants" */
|
||||
1002, /* "id-tc26-gost-28147-constants" */
|
||||
1147, /* "id-tc26-gost-3410-2012-256-constants" */
|
||||
996, /* "id-tc26-gost-3410-2012-512-constants" */
|
||||
987, /* "id-tc26-mac" */
|
||||
978, /* "id-tc26-sign" */
|
||||
@@ -4437,6 +4528,7 @@ static const unsigned int ln_objs[NUM_LN] = {
|
||||
106, /* "title" */
|
||||
1021, /* "tls1-prf" */
|
||||
682, /* "tpBasis" */
|
||||
1151, /* "ua-pki" */
|
||||
436, /* "ucl" */
|
||||
0, /* "undefined" */
|
||||
102, /* "uniqueIdentifier" */
|
||||
@@ -4469,7 +4561,7 @@ static const unsigned int ln_objs[NUM_LN] = {
|
||||
125, /* "zlib compression" */
|
||||
};
|
||||
|
||||
#define NUM_OBJ 1027
|
||||
#define NUM_OBJ 1050
|
||||
static const unsigned int obj_objs[NUM_OBJ] = {
|
||||
0, /* OBJ_undef 0 */
|
||||
181, /* OBJ_iso 1 */
|
||||
@@ -4491,6 +4583,7 @@ static const unsigned int obj_objs[NUM_OBJ] = {
|
||||
678, /* OBJ_wap 2 23 43 */
|
||||
435, /* OBJ_pss 0 9 2342 */
|
||||
1140, /* OBJ_ISO_CN 1 2 156 */
|
||||
1150, /* OBJ_ISO_UA 1 2 804 */
|
||||
183, /* OBJ_ISO_US 1 2 840 */
|
||||
381, /* OBJ_iana 1 3 6 1 */
|
||||
1034, /* OBJ_X25519 1 3 101 110 */
|
||||
@@ -4869,6 +4962,7 @@ static const unsigned int obj_objs[NUM_OBJ] = {
|
||||
995, /* OBJ_id_tc26_sign_constants 1 2 643 7 1 2 1 */
|
||||
1000, /* OBJ_id_tc26_digest_constants 1 2 643 7 1 2 2 */
|
||||
1001, /* OBJ_id_tc26_cipher_constants 1 2 643 7 1 2 5 */
|
||||
1151, /* OBJ_ua_pki 1 2 804 2 1 1 1 */
|
||||
2, /* OBJ_pkcs 1 2 840 113549 1 */
|
||||
431, /* OBJ_hold_instruction_none 1 2 840 10040 2 1 */
|
||||
432, /* OBJ_hold_instruction_call_issuer 1 2 840 10040 2 2 */
|
||||
@@ -4954,6 +5048,7 @@ static const unsigned int obj_objs[NUM_OBJ] = {
|
||||
989, /* OBJ_id_tc26_hmac_gost_3411_2012_512 1 2 643 7 1 1 4 2 */
|
||||
992, /* OBJ_id_tc26_agreement_gost_3410_2012_256 1 2 643 7 1 1 6 1 */
|
||||
993, /* OBJ_id_tc26_agreement_gost_3410_2012_512 1 2 643 7 1 1 6 2 */
|
||||
1147, /* OBJ_id_tc26_gost_3410_2012_256_constants 1 2 643 7 1 2 1 1 */
|
||||
996, /* OBJ_id_tc26_gost_3410_2012_512_constants 1 2 643 7 1 2 1 2 */
|
||||
1002, /* OBJ_id_tc26_gost_28147_constants 1 2 643 7 1 2 5 1 */
|
||||
186, /* OBJ_pkcs1 1 2 840 113549 1 1 */
|
||||
@@ -5156,9 +5251,11 @@ static const unsigned int obj_objs[NUM_OBJ] = {
|
||||
1120, /* OBJ_aria_128_ccm 1 2 410 200046 1 1 37 */
|
||||
1121, /* OBJ_aria_192_ccm 1 2 410 200046 1 1 38 */
|
||||
1122, /* OBJ_aria_256_ccm 1 2 410 200046 1 1 39 */
|
||||
1148, /* OBJ_id_tc26_gost_3410_2012_256_paramSetA 1 2 643 7 1 2 1 1 1 */
|
||||
997, /* OBJ_id_tc26_gost_3410_2012_512_paramSetTest 1 2 643 7 1 2 1 2 0 */
|
||||
998, /* OBJ_id_tc26_gost_3410_2012_512_paramSetA 1 2 643 7 1 2 1 2 1 */
|
||||
999, /* OBJ_id_tc26_gost_3410_2012_512_paramSetB 1 2 643 7 1 2 1 2 2 */
|
||||
1149, /* OBJ_id_tc26_gost_3410_2012_512_paramSetC 1 2 643 7 1 2 1 2 3 */
|
||||
1003, /* OBJ_id_tc26_gost_28147_param_Z 1 2 643 7 1 2 5 1 1 */
|
||||
108, /* OBJ_cast5_cbc 1 2 840 113533 7 66 10 */
|
||||
112, /* OBJ_pbeWithMD5AndCast5_CBC 1 2 840 113533 7 66 12 */
|
||||
@@ -5383,6 +5480,9 @@ static const unsigned int obj_objs[NUM_OBJ] = {
|
||||
455, /* OBJ_pilotOrganization 0 9 2342 19200300 100 4 20 */
|
||||
456, /* OBJ_pilotDSA 0 9 2342 19200300 100 4 21 */
|
||||
457, /* OBJ_qualityLabelledData 0 9 2342 19200300 100 4 22 */
|
||||
1152, /* OBJ_dstu28147 1 2 804 2 1 1 1 1 1 1 */
|
||||
1156, /* OBJ_hmacWithDstu34311 1 2 804 2 1 1 1 1 1 2 */
|
||||
1157, /* OBJ_dstu34311 1 2 804 2 1 1 1 1 2 1 */
|
||||
189, /* OBJ_id_smime_mod 1 2 840 113549 1 9 16 0 */
|
||||
190, /* OBJ_id_smime_ct 1 2 840 113549 1 9 16 1 */
|
||||
191, /* OBJ_id_smime_aa 1 2 840 113549 1 9 16 2 */
|
||||
@@ -5417,6 +5517,10 @@ static const unsigned int obj_objs[NUM_OBJ] = {
|
||||
907, /* OBJ_id_camellia128_wrap 1 2 392 200011 61 1 1 3 2 */
|
||||
908, /* OBJ_id_camellia192_wrap 1 2 392 200011 61 1 1 3 3 */
|
||||
909, /* OBJ_id_camellia256_wrap 1 2 392 200011 61 1 1 3 4 */
|
||||
1153, /* OBJ_dstu28147_ofb 1 2 804 2 1 1 1 1 1 1 2 */
|
||||
1154, /* OBJ_dstu28147_cfb 1 2 804 2 1 1 1 1 1 1 3 */
|
||||
1155, /* OBJ_dstu28147_wrap 1 2 804 2 1 1 1 1 1 1 5 */
|
||||
1158, /* OBJ_dstu4145le 1 2 804 2 1 1 1 1 3 1 1 */
|
||||
196, /* OBJ_id_smime_mod_cms 1 2 840 113549 1 9 16 0 1 */
|
||||
197, /* OBJ_id_smime_mod_ess 1 2 840 113549 1 9 16 0 2 */
|
||||
198, /* OBJ_id_smime_mod_oid 1 2 840 113549 1 9 16 0 3 */
|
||||
@@ -5498,4 +5602,15 @@ static const unsigned int obj_objs[NUM_OBJ] = {
|
||||
957, /* OBJ_jurisdictionCountryName 1 3 6 1 4 1 311 60 2 1 3 */
|
||||
1056, /* OBJ_blake2b512 1 3 6 1 4 1 1722 12 2 1 16 */
|
||||
1057, /* OBJ_blake2s256 1 3 6 1 4 1 1722 12 2 2 8 */
|
||||
1159, /* OBJ_dstu4145be 1 2 804 2 1 1 1 1 3 1 1 1 1 */
|
||||
1160, /* OBJ_uacurve0 1 2 804 2 1 1 1 1 3 1 1 2 0 */
|
||||
1161, /* OBJ_uacurve1 1 2 804 2 1 1 1 1 3 1 1 2 1 */
|
||||
1162, /* OBJ_uacurve2 1 2 804 2 1 1 1 1 3 1 1 2 2 */
|
||||
1163, /* OBJ_uacurve3 1 2 804 2 1 1 1 1 3 1 1 2 3 */
|
||||
1164, /* OBJ_uacurve4 1 2 804 2 1 1 1 1 3 1 1 2 4 */
|
||||
1165, /* OBJ_uacurve5 1 2 804 2 1 1 1 1 3 1 1 2 5 */
|
||||
1166, /* OBJ_uacurve6 1 2 804 2 1 1 1 1 3 1 1 2 6 */
|
||||
1167, /* OBJ_uacurve7 1 2 804 2 1 1 1 1 3 1 1 2 7 */
|
||||
1168, /* OBJ_uacurve8 1 2 804 2 1 1 1 1 3 1 1 2 8 */
|
||||
1169, /* OBJ_uacurve9 1 2 804 2 1 1 1 1 3 1 1 2 9 */
|
||||
};
|
||||
+21
-24
@@ -152,8 +152,7 @@ for (my $i = 0; $i < $n; $i++) {
|
||||
}
|
||||
|
||||
# Finally ready to generate the output.
|
||||
open(OUT, ">$ARGV[1]") || die "Can't open output file $ARGV[1], $!";
|
||||
print OUT <<"EOF";
|
||||
print <<"EOF";
|
||||
/*
|
||||
* WARNING: do not edit!
|
||||
* Generated by crypto/objects/obj_dat.pl
|
||||
@@ -167,44 +166,44 @@ print OUT <<"EOF";
|
||||
|
||||
EOF
|
||||
|
||||
print OUT "/* Serialized OID's */\n";
|
||||
printf OUT "static const unsigned char so[%d] = {\n", $lvalues + 1;
|
||||
print OUT @lvalues;
|
||||
print OUT "};\n\n";
|
||||
print "/* Serialized OID's */\n";
|
||||
printf "static const unsigned char so[%d] = {\n", $lvalues + 1;
|
||||
print @lvalues;
|
||||
print "};\n\n";
|
||||
|
||||
printf OUT "#define NUM_NID %d\n", $n;
|
||||
printf OUT "static const ASN1_OBJECT nid_objs[NUM_NID] = {\n";
|
||||
print OUT @out;
|
||||
print OUT "};\n\n";
|
||||
printf "#define NUM_NID %d\n", $n;
|
||||
printf "static const ASN1_OBJECT nid_objs[NUM_NID] = {\n";
|
||||
print @out;
|
||||
print "};\n\n";
|
||||
|
||||
{
|
||||
no warnings "uninitialized";
|
||||
@a = grep(defined $sn{$nid{$_}}, 0 .. $n);
|
||||
}
|
||||
printf OUT "#define NUM_SN %d\n", $#a + 1;
|
||||
printf OUT "static const unsigned int sn_objs[NUM_SN] = {\n";
|
||||
printf "#define NUM_SN %d\n", $#a + 1;
|
||||
printf "static const unsigned int sn_objs[NUM_SN] = {\n";
|
||||
foreach (sort { $sn{$nid{$a}} cmp $sn{$nid{$b}} } @a) {
|
||||
printf OUT " %4d, /* \"$sn{$nid{$_}}\" */\n", $_;
|
||||
printf " %4d, /* \"$sn{$nid{$_}}\" */\n", $_;
|
||||
}
|
||||
print OUT "};\n\n";
|
||||
print "};\n\n";
|
||||
|
||||
{
|
||||
no warnings "uninitialized";
|
||||
@a = grep(defined $ln{$nid{$_}}, 0 .. $n);
|
||||
}
|
||||
printf OUT "#define NUM_LN %d\n", $#a + 1;
|
||||
printf OUT "static const unsigned int ln_objs[NUM_LN] = {\n";
|
||||
printf "#define NUM_LN %d\n", $#a + 1;
|
||||
printf "static const unsigned int ln_objs[NUM_LN] = {\n";
|
||||
foreach (sort { $ln{$nid{$a}} cmp $ln{$nid{$b}} } @a) {
|
||||
printf OUT " %4d, /* \"$ln{$nid{$_}}\" */\n", $_;
|
||||
printf " %4d, /* \"$ln{$nid{$_}}\" */\n", $_;
|
||||
}
|
||||
print OUT "};\n\n";
|
||||
print "};\n\n";
|
||||
|
||||
{
|
||||
no warnings "uninitialized";
|
||||
@a = grep(defined $obj{$nid{$_}}, 0 .. $n);
|
||||
}
|
||||
printf OUT "#define NUM_OBJ %d\n", $#a + 1;
|
||||
printf OUT "static const unsigned int obj_objs[NUM_OBJ] = {\n";
|
||||
printf "#define NUM_OBJ %d\n", $#a + 1;
|
||||
printf "static const unsigned int obj_objs[NUM_OBJ] = {\n";
|
||||
|
||||
# Compare DER; prefer shorter; if some length, use the "smaller" encoding.
|
||||
sub obj_cmp
|
||||
@@ -224,8 +223,6 @@ foreach (sort obj_cmp @a) {
|
||||
my $v = $objd{$m};
|
||||
$v =~ s/L//g;
|
||||
$v =~ s/,/ /g;
|
||||
printf OUT " %4d, /* %-32s %s */\n", $_, $m, $v;
|
||||
printf " %4d, /* %-32s %s */\n", $_, $m, $v;
|
||||
}
|
||||
print OUT "};\n";
|
||||
|
||||
close OUT;
|
||||
print "};\n";
|
||||
@@ -1144,3 +1144,26 @@ sm3 1143
|
||||
sm3WithRSAEncryption 1144
|
||||
sha512_224WithRSAEncryption 1145
|
||||
sha512_256WithRSAEncryption 1146
|
||||
id_tc26_gost_3410_2012_256_constants 1147
|
||||
id_tc26_gost_3410_2012_256_paramSetA 1148
|
||||
id_tc26_gost_3410_2012_512_paramSetC 1149
|
||||
ISO_UA 1150
|
||||
ua_pki 1151
|
||||
dstu28147 1152
|
||||
dstu28147_ofb 1153
|
||||
dstu28147_cfb 1154
|
||||
dstu28147_wrap 1155
|
||||
hmacWithDstu34311 1156
|
||||
dstu34311 1157
|
||||
dstu4145le 1158
|
||||
dstu4145be 1159
|
||||
uacurve0 1160
|
||||
uacurve1 1161
|
||||
uacurve2 1162
|
||||
uacurve3 1163
|
||||
uacurve4 1164
|
||||
uacurve5 1165
|
||||
uacurve6 1166
|
||||
uacurve7 1167
|
||||
uacurve8 1168
|
||||
uacurve9 1169
|
||||
@@ -74,6 +74,7 @@ static const nid_triple sigoid_srt[] = {
|
||||
{NID_id_tc26_signwithdigest_gost3410_2012_512, NID_id_GostR3411_2012_512,
|
||||
NID_id_GostR3410_2012_512},
|
||||
{NID_ED25519, NID_undef, NID_ED25519},
|
||||
{NID_ED448, NID_undef, NID_ED448},
|
||||
{NID_RSA_SHA3_224, NID_sha3_224, NID_rsaEncryption},
|
||||
{NID_RSA_SHA3_256, NID_sha3_256, NID_rsaEncryption},
|
||||
{NID_RSA_SHA3_384, NID_sha3_384, NID_rsaEncryption},
|
||||
@@ -120,8 +121,8 @@ static const nid_triple *const sigoid_srt_xref[] = {
|
||||
&sigoid_srt[28],
|
||||
&sigoid_srt[40],
|
||||
&sigoid_srt[41],
|
||||
&sigoid_srt[43],
|
||||
&sigoid_srt[44],
|
||||
&sigoid_srt[45],
|
||||
&sigoid_srt[46],
|
||||
&sigoid_srt[47],
|
||||
};
|
||||
@@ -22,6 +22,7 @@ RSA_SHA3_512 sha3_512 rsaEncryption
|
||||
# method should handle this explicitly.
|
||||
rsassaPss undef rsaEncryption
|
||||
ED25519 undef ED25519
|
||||
ED448 undef ED448
|
||||
|
||||
# Alternative deprecated OIDs. By using the older "rsa" OID this
|
||||
# type will be recognized by not normally used.
|
||||
|
||||
+19
-16
@@ -6,7 +6,12 @@
|
||||
# in the file LICENSE in the source distribution or at
|
||||
# https://www.openssl.org/source/license.html
|
||||
|
||||
# Output year depends on the year of the script and the input files.
|
||||
use Getopt::Std;
|
||||
|
||||
our($opt_n);
|
||||
getopts('n');
|
||||
|
||||
# Output year depends on the year of the script and the input file.
|
||||
my $YEAR = [localtime([stat($0)]->[9])]->[5] + 1900;
|
||||
my $iYEAR = [localtime([stat($ARGV[0])]->[9])]->[5] + 1900;
|
||||
$YEAR = $iYEAR if $iYEAR > $YEAR;
|
||||
@@ -123,15 +128,15 @@ print STDERR "Added OID $Cname\n";
|
||||
}
|
||||
close IN;
|
||||
|
||||
open (NUMOUT,">$ARGV[1]") || die "Can't open output file $ARGV[1]";
|
||||
foreach (sort { $a <=> $b } keys %nidn)
|
||||
{
|
||||
print NUMOUT $nidn{$_},"\t\t",$_,"\n";
|
||||
}
|
||||
close NUMOUT;
|
||||
if ( $opt_n ) {
|
||||
foreach (sort { $a <=> $b } keys %nidn)
|
||||
{
|
||||
print $nidn{$_},"\t\t",$_,"\n";
|
||||
}
|
||||
exit;
|
||||
}
|
||||
|
||||
open (OUT,">$ARGV[2]") || die "Can't open output file $ARGV[2]";
|
||||
print OUT <<"EOF";
|
||||
print <<"EOF";
|
||||
/*
|
||||
* WARNING: do not edit!
|
||||
* Generated by crypto/objects/objects.pl
|
||||
@@ -161,15 +166,13 @@ sub expand
|
||||
foreach (sort { $a <=> $b } keys %ordern)
|
||||
{
|
||||
$Cname=$ordern{$_};
|
||||
print OUT "\n";
|
||||
print OUT expand("#define SN_$Cname\t\t\"$sn{$Cname}\"\n") if $sn{$Cname} ne "";
|
||||
print OUT expand("#define LN_$Cname\t\t\"$ln{$Cname}\"\n") if $ln{$Cname} ne "";
|
||||
print OUT expand("#define NID_$Cname\t\t$nid{$Cname}\n") if $nid{$Cname} ne "";
|
||||
print OUT expand("#define OBJ_$Cname\t\t$obj{$Cname}\n") if $obj{$Cname} ne "";
|
||||
print "\n";
|
||||
print expand("#define SN_$Cname\t\t\"$sn{$Cname}\"\n") if $sn{$Cname} ne "";
|
||||
print expand("#define LN_$Cname\t\t\"$ln{$Cname}\"\n") if $ln{$Cname} ne "";
|
||||
print expand("#define NID_$Cname\t\t$nid{$Cname}\n") if $nid{$Cname} ne "";
|
||||
print expand("#define OBJ_$Cname\t\t$obj{$Cname}\n") if $obj{$Cname} ne "";
|
||||
}
|
||||
|
||||
close OUT;
|
||||
|
||||
sub process_oid
|
||||
{
|
||||
local($oid)=@_;
|
||||
|
||||
@@ -1337,10 +1337,13 @@ id-tc26-agreement 2 : id-tc26-agreement-gost-3410-2012-512
|
||||
id-tc26 2 : id-tc26-constants
|
||||
|
||||
id-tc26-constants 1 : id-tc26-sign-constants
|
||||
id-tc26-sign-constants 1: id-tc26-gost-3410-2012-256-constants
|
||||
id-tc26-gost-3410-2012-256-constants 1 : id-tc26-gost-3410-2012-256-paramSetA: GOST R 34.10-2012 (256 bit) ParamSet A
|
||||
id-tc26-sign-constants 2: id-tc26-gost-3410-2012-512-constants
|
||||
id-tc26-gost-3410-2012-512-constants 0 : id-tc26-gost-3410-2012-512-paramSetTest: GOST R 34.10-2012 (512 bit) testing parameter set
|
||||
id-tc26-gost-3410-2012-512-constants 1 : id-tc26-gost-3410-2012-512-paramSetA: GOST R 34.10-2012 (512 bit) ParamSet A
|
||||
id-tc26-gost-3410-2012-512-constants 2 : id-tc26-gost-3410-2012-512-paramSetB: GOST R 34.10-2012 (512 bit) ParamSet B
|
||||
id-tc26-gost-3410-2012-512-constants 3 : id-tc26-gost-3410-2012-512-paramSetC: GOST R 34.10-2012 (512 bit) ParamSet C
|
||||
|
||||
id-tc26-constants 2 : id-tc26-digest-constants
|
||||
id-tc26-constants 5 : id-tc26-cipher-constants
|
||||
@@ -1609,3 +1612,33 @@ id-pkinit 5 : pkInitKDC : Signing KDC Response
|
||||
: ffdhe4096
|
||||
: ffdhe6144
|
||||
: ffdhe8192
|
||||
|
||||
# OIDs for DSTU-4145/DSTU-7564 (http://zakon2.rada.gov.ua/laws/show/z0423-17)
|
||||
|
||||
# DSTU OIDs
|
||||
member-body 804 : ISO-UA
|
||||
ISO-UA 2 1 1 1 : ua-pki
|
||||
ua-pki 1 1 1 : dstu28147 : DSTU Gost 28147-2009
|
||||
dstu28147 2 : dstu28147-ofb : DSTU Gost 28147-2009 OFB mode
|
||||
dstu28147 3 : dstu28147-cfb : DSTU Gost 28147-2009 CFB mode
|
||||
dstu28147 5 : dstu28147-wrap : DSTU Gost 28147-2009 key wrap
|
||||
|
||||
ua-pki 1 1 2 : hmacWithDstu34311 : HMAC DSTU Gost 34311-95
|
||||
ua-pki 1 2 1 : dstu34311 : DSTU Gost 34311-95
|
||||
|
||||
ua-pki 1 3 1 1 : dstu4145le : DSTU 4145-2002 little endian
|
||||
dstu4145le 1 1 : dstu4145be : DSTU 4145-2002 big endian
|
||||
|
||||
# 1.2.804. 2.1.1.1 1.3.1.1 .2.6
|
||||
# UA ua-pki 4145 le
|
||||
# DSTU named curves
|
||||
dstu4145le 2 0 : uacurve0 : DSTU curve 0
|
||||
dstu4145le 2 1 : uacurve1 : DSTU curve 1
|
||||
dstu4145le 2 2 : uacurve2 : DSTU curve 2
|
||||
dstu4145le 2 3 : uacurve3 : DSTU curve 3
|
||||
dstu4145le 2 4 : uacurve4 : DSTU curve 4
|
||||
dstu4145le 2 5 : uacurve5 : DSTU curve 5
|
||||
dstu4145le 2 6 : uacurve6 : DSTU curve 6
|
||||
dstu4145le 2 7 : uacurve7 : DSTU curve 7
|
||||
dstu4145le 2 8 : uacurve8 : DSTU curve 8
|
||||
dstu4145le 2 9 : uacurve9 : DSTU curve 9
|
||||
Reference in New Issue
Block a user