diff options
author | djm <> | 2006-06-27 05:05:40 +0000 |
---|---|---|
committer | djm <> | 2006-06-27 05:05:40 +0000 |
commit | 4f828b924f54507141fb95ebe49dfcd261945e85 (patch) | |
tree | f6b05913ca6b34db73a343a7bb36d57ff4105356 /src/lib/libcrypto/objects | |
parent | 588543a0946f1dbf0f1dd5135f8f6447486dc183 (diff) | |
download | openbsd-4f828b924f54507141fb95ebe49dfcd261945e85.tar.gz openbsd-4f828b924f54507141fb95ebe49dfcd261945e85.tar.bz2 openbsd-4f828b924f54507141fb95ebe49dfcd261945e85.zip |
import of openssl-0.9.7j
Diffstat (limited to 'src/lib/libcrypto/objects')
-rw-r--r-- | src/lib/libcrypto/objects/Makefile | 2 | ||||
-rw-r--r-- | src/lib/libcrypto/objects/obj_dat.h | 99 | ||||
-rw-r--r-- | src/lib/libcrypto/objects/obj_mac.h | 65 |
3 files changed, 131 insertions, 35 deletions
diff --git a/src/lib/libcrypto/objects/Makefile b/src/lib/libcrypto/objects/Makefile index e449147129..23b2a69e6d 100644 --- a/src/lib/libcrypto/objects/Makefile +++ b/src/lib/libcrypto/objects/Makefile | |||
@@ -1,5 +1,5 @@ | |||
1 | # | 1 | # |
2 | # SSLeay/crypto/objects/Makefile | 2 | # OpenSSL/crypto/objects/Makefile |
3 | # | 3 | # |
4 | 4 | ||
5 | DIR= objects | 5 | DIR= objects |
diff --git a/src/lib/libcrypto/objects/obj_dat.h b/src/lib/libcrypto/objects/obj_dat.h index 8785127055..cc22152682 100644 --- a/src/lib/libcrypto/objects/obj_dat.h +++ b/src/lib/libcrypto/objects/obj_dat.h | |||
@@ -62,12 +62,12 @@ | |||
62 | * [including the GNU Public Licence.] | 62 | * [including the GNU Public Licence.] |
63 | */ | 63 | */ |
64 | 64 | ||
65 | #define NUM_NID 668 | 65 | #define NUM_NID 676 |
66 | #define NUM_SN 660 | 66 | #define NUM_SN 669 |
67 | #define NUM_LN 660 | 67 | #define NUM_LN 669 |
68 | #define NUM_OBJ 624 | 68 | #define NUM_OBJ 633 |
69 | 69 | ||
70 | static unsigned char lvalues[4500]={ | 70 | static unsigned char lvalues[4575]={ |
71 | 0x00, /* [ 0] OBJ_undef */ | 71 | 0x00, /* [ 0] OBJ_undef */ |
72 | 0x2A,0x86,0x48,0x86,0xF7,0x0D, /* [ 1] OBJ_rsadsi */ | 72 | 0x2A,0x86,0x48,0x86,0xF7,0x0D, /* [ 1] OBJ_rsadsi */ |
73 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01, /* [ 7] OBJ_pkcs */ | 73 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01, /* [ 7] OBJ_pkcs */ |
@@ -330,9 +330,9 @@ static unsigned char lvalues[4500]={ | |||
330 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x01,0x04, /* [2092] OBJ_ac_auditEntity */ | 330 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x01,0x04, /* [2092] OBJ_ac_auditEntity */ |
331 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x01,0x05, /* [2100] OBJ_ac_targeting */ | 331 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x01,0x05, /* [2100] OBJ_ac_targeting */ |
332 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x01,0x06, /* [2108] OBJ_aaControls */ | 332 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x01,0x06, /* [2108] OBJ_aaControls */ |
333 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x01,0x07, /* [2116] OBJ_sbqp_ipAddrBlock */ | 333 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x01,0x07, /* [2116] OBJ_sbgp_ipAddrBlock */ |
334 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x01,0x08, /* [2124] OBJ_sbqp_autonomousSysNum */ | 334 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x01,0x08, /* [2124] OBJ_sbgp_autonomousSysNum */ |
335 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x01,0x09, /* [2132] OBJ_sbqp_routerIdentifier */ | 335 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x01,0x09, /* [2132] OBJ_sbgp_routerIdentifier */ |
336 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x02,0x03, /* [2140] OBJ_textNotice */ | 336 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x02,0x03, /* [2140] OBJ_textNotice */ |
337 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x03,0x05, /* [2148] OBJ_ipsecEndSystem */ | 337 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x03,0x05, /* [2148] OBJ_ipsecEndSystem */ |
338 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x03,0x06, /* [2156] OBJ_ipsecTunnel */ | 338 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x03,0x06, /* [2156] OBJ_ipsecTunnel */ |
@@ -691,7 +691,16 @@ static unsigned char lvalues[4500]={ | |||
691 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x01,0x0E, /* [4467] OBJ_proxyCertInfo */ | 691 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x01,0x0E, /* [4467] OBJ_proxyCertInfo */ |
692 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x15,0x00, /* [4475] OBJ_id_ppl_anyLanguage */ | 692 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x15,0x00, /* [4475] OBJ_id_ppl_anyLanguage */ |
693 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x15,0x01, /* [4483] OBJ_id_ppl_inheritAll */ | 693 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x15,0x01, /* [4483] OBJ_id_ppl_inheritAll */ |
694 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x15,0x02, /* [4491] OBJ_Independent */ | 694 | 0x55,0x1D,0x1E, /* [4491] OBJ_name_constraints */ |
695 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x15,0x02, /* [4494] OBJ_Independent */ | ||
696 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x01,0x0B,/* [4502] OBJ_sha256WithRSAEncryption */ | ||
697 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x01,0x0C,/* [4511] OBJ_sha384WithRSAEncryption */ | ||
698 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x01,0x0D,/* [4520] OBJ_sha512WithRSAEncryption */ | ||
699 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x01,0x0E,/* [4529] OBJ_sha224WithRSAEncryption */ | ||
700 | 0x60,0x86,0x48,0x01,0x65,0x03,0x04,0x02,0x01,/* [4538] OBJ_sha256 */ | ||
701 | 0x60,0x86,0x48,0x01,0x65,0x03,0x04,0x02,0x02,/* [4547] OBJ_sha384 */ | ||
702 | 0x60,0x86,0x48,0x01,0x65,0x03,0x04,0x02,0x03,/* [4556] OBJ_sha512 */ | ||
703 | 0x60,0x86,0x48,0x01,0x65,0x03,0x04,0x02,0x04,/* [4565] OBJ_sha224 */ | ||
695 | }; | 704 | }; |
696 | 705 | ||
697 | static ASN1_OBJECT nid_objs[NUM_NID]={ | 706 | static ASN1_OBJECT nid_objs[NUM_NID]={ |
@@ -1134,12 +1143,12 @@ static ASN1_OBJECT nid_objs[NUM_NID]={ | |||
1134 | &(lvalues[2092]),0}, | 1143 | &(lvalues[2092]),0}, |
1135 | {"ac-targeting","ac-targeting",NID_ac_targeting,8,&(lvalues[2100]),0}, | 1144 | {"ac-targeting","ac-targeting",NID_ac_targeting,8,&(lvalues[2100]),0}, |
1136 | {"aaControls","aaControls",NID_aaControls,8,&(lvalues[2108]),0}, | 1145 | {"aaControls","aaControls",NID_aaControls,8,&(lvalues[2108]),0}, |
1137 | {"sbqp-ipAddrBlock","sbqp-ipAddrBlock",NID_sbqp_ipAddrBlock,8, | 1146 | {"sbgp-ipAddrBlock","sbgp-ipAddrBlock",NID_sbgp_ipAddrBlock,8, |
1138 | &(lvalues[2116]),0}, | 1147 | &(lvalues[2116]),0}, |
1139 | {"sbqp-autonomousSysNum","sbqp-autonomousSysNum", | 1148 | {"sbgp-autonomousSysNum","sbgp-autonomousSysNum", |
1140 | NID_sbqp_autonomousSysNum,8,&(lvalues[2124]),0}, | 1149 | NID_sbgp_autonomousSysNum,8,&(lvalues[2124]),0}, |
1141 | {"sbqp-routerIdentifier","sbqp-routerIdentifier", | 1150 | {"sbgp-routerIdentifier","sbgp-routerIdentifier", |
1142 | NID_sbqp_routerIdentifier,8,&(lvalues[2132]),0}, | 1151 | NID_sbgp_routerIdentifier,8,&(lvalues[2132]),0}, |
1143 | {"textNotice","textNotice",NID_textNotice,8,&(lvalues[2140]),0}, | 1152 | {"textNotice","textNotice",NID_textNotice,8,&(lvalues[2140]),0}, |
1144 | {"ipsecEndSystem","IPSec End System",NID_ipsecEndSystem,8, | 1153 | {"ipsecEndSystem","IPSec End System",NID_ipsecEndSystem,8, |
1145 | &(lvalues[2148]),0}, | 1154 | &(lvalues[2148]),0}, |
@@ -1754,8 +1763,21 @@ static ASN1_OBJECT nid_objs[NUM_NID]={ | |||
1754 | &(lvalues[4475]),0}, | 1763 | &(lvalues[4475]),0}, |
1755 | {"id-ppl-inheritAll","Inherit all",NID_id_ppl_inheritAll,8, | 1764 | {"id-ppl-inheritAll","Inherit all",NID_id_ppl_inheritAll,8, |
1756 | &(lvalues[4483]),0}, | 1765 | &(lvalues[4483]),0}, |
1757 | {NULL,NULL,NID_undef,0,NULL}, | 1766 | {"nameConstraints","X509v3 Name Constraints",NID_name_constraints,3, |
1758 | {"id-ppl-independent","Independent",NID_Independent,8,&(lvalues[4491]),0}, | 1767 | &(lvalues[4491]),0}, |
1768 | {"id-ppl-independent","Independent",NID_Independent,8,&(lvalues[4494]),0}, | ||
1769 | {"RSA-SHA256","sha256WithRSAEncryption",NID_sha256WithRSAEncryption,9, | ||
1770 | &(lvalues[4502]),0}, | ||
1771 | {"RSA-SHA384","sha384WithRSAEncryption",NID_sha384WithRSAEncryption,9, | ||
1772 | &(lvalues[4511]),0}, | ||
1773 | {"RSA-SHA512","sha512WithRSAEncryption",NID_sha512WithRSAEncryption,9, | ||
1774 | &(lvalues[4520]),0}, | ||
1775 | {"RSA-SHA224","sha224WithRSAEncryption",NID_sha224WithRSAEncryption,9, | ||
1776 | &(lvalues[4529]),0}, | ||
1777 | {"SHA256","sha256",NID_sha256,9,&(lvalues[4538]),0}, | ||
1778 | {"SHA384","sha384",NID_sha384,9,&(lvalues[4547]),0}, | ||
1779 | {"SHA512","sha512",NID_sha512,9,&(lvalues[4556]),0}, | ||
1780 | {"SHA224","sha224",NID_sha224,9,&(lvalues[4565]),0}, | ||
1759 | }; | 1781 | }; |
1760 | 1782 | ||
1761 | static ASN1_OBJECT *sn_objs[NUM_SN]={ | 1783 | static ASN1_OBJECT *sn_objs[NUM_SN]={ |
@@ -1881,8 +1903,16 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={ | |||
1881 | &(nid_objs[42]),/* "RSA-SHA" */ | 1903 | &(nid_objs[42]),/* "RSA-SHA" */ |
1882 | &(nid_objs[65]),/* "RSA-SHA1" */ | 1904 | &(nid_objs[65]),/* "RSA-SHA1" */ |
1883 | &(nid_objs[115]),/* "RSA-SHA1-2" */ | 1905 | &(nid_objs[115]),/* "RSA-SHA1-2" */ |
1906 | &(nid_objs[671]),/* "RSA-SHA224" */ | ||
1907 | &(nid_objs[668]),/* "RSA-SHA256" */ | ||
1908 | &(nid_objs[669]),/* "RSA-SHA384" */ | ||
1909 | &(nid_objs[670]),/* "RSA-SHA512" */ | ||
1884 | &(nid_objs[41]),/* "SHA" */ | 1910 | &(nid_objs[41]),/* "SHA" */ |
1885 | &(nid_objs[64]),/* "SHA1" */ | 1911 | &(nid_objs[64]),/* "SHA1" */ |
1912 | &(nid_objs[675]),/* "SHA224" */ | ||
1913 | &(nid_objs[672]),/* "SHA256" */ | ||
1914 | &(nid_objs[673]),/* "SHA384" */ | ||
1915 | &(nid_objs[674]),/* "SHA512" */ | ||
1886 | &(nid_objs[188]),/* "SMIME" */ | 1916 | &(nid_objs[188]),/* "SMIME" */ |
1887 | &(nid_objs[167]),/* "SMIME-CAPS" */ | 1917 | &(nid_objs[167]),/* "SMIME-CAPS" */ |
1888 | &(nid_objs[100]),/* "SN" */ | 1918 | &(nid_objs[100]),/* "SN" */ |
@@ -2182,6 +2212,7 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={ | |||
2182 | &(nid_objs[649]),/* "msUPN" */ | 2212 | &(nid_objs[649]),/* "msUPN" */ |
2183 | &(nid_objs[481]),/* "nSRecord" */ | 2213 | &(nid_objs[481]),/* "nSRecord" */ |
2184 | &(nid_objs[173]),/* "name" */ | 2214 | &(nid_objs[173]),/* "name" */ |
2215 | &(nid_objs[666]),/* "nameConstraints" */ | ||
2185 | &(nid_objs[369]),/* "noCheck" */ | 2216 | &(nid_objs[369]),/* "noCheck" */ |
2186 | &(nid_objs[403]),/* "noRevAvail" */ | 2217 | &(nid_objs[403]),/* "noRevAvail" */ |
2187 | &(nid_objs[72]),/* "nsBaseUrl" */ | 2218 | &(nid_objs[72]),/* "nsBaseUrl" */ |
@@ -2254,9 +2285,9 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={ | |||
2254 | &(nid_objs[ 1]),/* "rsadsi" */ | 2285 | &(nid_objs[ 1]),/* "rsadsi" */ |
2255 | &(nid_objs[482]),/* "sOARecord" */ | 2286 | &(nid_objs[482]),/* "sOARecord" */ |
2256 | &(nid_objs[155]),/* "safeContentsBag" */ | 2287 | &(nid_objs[155]),/* "safeContentsBag" */ |
2257 | &(nid_objs[291]),/* "sbqp-autonomousSysNum" */ | 2288 | &(nid_objs[291]),/* "sbgp-autonomousSysNum" */ |
2258 | &(nid_objs[290]),/* "sbqp-ipAddrBlock" */ | 2289 | &(nid_objs[290]),/* "sbgp-ipAddrBlock" */ |
2259 | &(nid_objs[292]),/* "sbqp-routerIdentifier" */ | 2290 | &(nid_objs[292]),/* "sbgp-routerIdentifier" */ |
2260 | &(nid_objs[159]),/* "sdsiCertificate" */ | 2291 | &(nid_objs[159]),/* "sdsiCertificate" */ |
2261 | &(nid_objs[154]),/* "secretBag" */ | 2292 | &(nid_objs[154]),/* "secretBag" */ |
2262 | &(nid_objs[474]),/* "secretary" */ | 2293 | &(nid_objs[474]),/* "secretary" */ |
@@ -2517,6 +2548,7 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={ | |||
2517 | &(nid_objs[126]),/* "X509v3 Extended Key Usage" */ | 2548 | &(nid_objs[126]),/* "X509v3 Extended Key Usage" */ |
2518 | &(nid_objs[86]),/* "X509v3 Issuer Alternative Name" */ | 2549 | &(nid_objs[86]),/* "X509v3 Issuer Alternative Name" */ |
2519 | &(nid_objs[83]),/* "X509v3 Key Usage" */ | 2550 | &(nid_objs[83]),/* "X509v3 Key Usage" */ |
2551 | &(nid_objs[666]),/* "X509v3 Name Constraints" */ | ||
2520 | &(nid_objs[403]),/* "X509v3 No Revocation Available" */ | 2552 | &(nid_objs[403]),/* "X509v3 No Revocation Available" */ |
2521 | &(nid_objs[401]),/* "X509v3 Policy Constraints" */ | 2553 | &(nid_objs[401]),/* "X509v3 Policy Constraints" */ |
2522 | &(nid_objs[84]),/* "X509v3 Private Key Usage Period" */ | 2554 | &(nid_objs[84]),/* "X509v3 Private Key Usage Period" */ |
@@ -2930,9 +2962,9 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={ | |||
2930 | &(nid_objs[124]),/* "run length compression" */ | 2962 | &(nid_objs[124]),/* "run length compression" */ |
2931 | &(nid_objs[482]),/* "sOARecord" */ | 2963 | &(nid_objs[482]),/* "sOARecord" */ |
2932 | &(nid_objs[155]),/* "safeContentsBag" */ | 2964 | &(nid_objs[155]),/* "safeContentsBag" */ |
2933 | &(nid_objs[291]),/* "sbqp-autonomousSysNum" */ | 2965 | &(nid_objs[291]),/* "sbgp-autonomousSysNum" */ |
2934 | &(nid_objs[290]),/* "sbqp-ipAddrBlock" */ | 2966 | &(nid_objs[290]),/* "sbgp-ipAddrBlock" */ |
2935 | &(nid_objs[292]),/* "sbqp-routerIdentifier" */ | 2967 | &(nid_objs[292]),/* "sbgp-routerIdentifier" */ |
2936 | &(nid_objs[159]),/* "sdsiCertificate" */ | 2968 | &(nid_objs[159]),/* "sdsiCertificate" */ |
2937 | &(nid_objs[154]),/* "secretBag" */ | 2969 | &(nid_objs[154]),/* "secretBag" */ |
2938 | &(nid_objs[474]),/* "secretary" */ | 2970 | &(nid_objs[474]),/* "secretary" */ |
@@ -3059,6 +3091,14 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={ | |||
3059 | &(nid_objs[64]),/* "sha1" */ | 3091 | &(nid_objs[64]),/* "sha1" */ |
3060 | &(nid_objs[115]),/* "sha1WithRSA" */ | 3092 | &(nid_objs[115]),/* "sha1WithRSA" */ |
3061 | &(nid_objs[65]),/* "sha1WithRSAEncryption" */ | 3093 | &(nid_objs[65]),/* "sha1WithRSAEncryption" */ |
3094 | &(nid_objs[675]),/* "sha224" */ | ||
3095 | &(nid_objs[671]),/* "sha224WithRSAEncryption" */ | ||
3096 | &(nid_objs[672]),/* "sha256" */ | ||
3097 | &(nid_objs[668]),/* "sha256WithRSAEncryption" */ | ||
3098 | &(nid_objs[673]),/* "sha384" */ | ||
3099 | &(nid_objs[669]),/* "sha384WithRSAEncryption" */ | ||
3100 | &(nid_objs[674]),/* "sha512" */ | ||
3101 | &(nid_objs[670]),/* "sha512WithRSAEncryption" */ | ||
3062 | &(nid_objs[42]),/* "shaWithRSAEncryption" */ | 3102 | &(nid_objs[42]),/* "shaWithRSAEncryption" */ |
3063 | &(nid_objs[52]),/* "signingTime" */ | 3103 | &(nid_objs[52]),/* "signingTime" */ |
3064 | &(nid_objs[454]),/* "simpleSecurityObject" */ | 3104 | &(nid_objs[454]),/* "simpleSecurityObject" */ |
@@ -3133,6 +3173,7 @@ static ASN1_OBJECT *obj_objs[NUM_OBJ]={ | |||
3133 | &(nid_objs[430]),/* OBJ_hold_instruction_code 2 5 29 23 */ | 3173 | &(nid_objs[430]),/* OBJ_hold_instruction_code 2 5 29 23 */ |
3134 | &(nid_objs[142]),/* OBJ_invalidity_date 2 5 29 24 */ | 3174 | &(nid_objs[142]),/* OBJ_invalidity_date 2 5 29 24 */ |
3135 | &(nid_objs[140]),/* OBJ_delta_crl 2 5 29 27 */ | 3175 | &(nid_objs[140]),/* OBJ_delta_crl 2 5 29 27 */ |
3176 | &(nid_objs[666]),/* OBJ_name_constraints 2 5 29 30 */ | ||
3136 | &(nid_objs[103]),/* OBJ_crl_distribution_points 2 5 29 31 */ | 3177 | &(nid_objs[103]),/* OBJ_crl_distribution_points 2 5 29 31 */ |
3137 | &(nid_objs[89]),/* OBJ_certificate_policies 2 5 29 32 */ | 3178 | &(nid_objs[89]),/* OBJ_certificate_policies 2 5 29 32 */ |
3138 | &(nid_objs[90]),/* OBJ_authority_key_identifier 2 5 29 35 */ | 3179 | &(nid_objs[90]),/* OBJ_authority_key_identifier 2 5 29 35 */ |
@@ -3383,9 +3424,9 @@ static ASN1_OBJECT *obj_objs[NUM_OBJ]={ | |||
3383 | &(nid_objs[287]),/* OBJ_ac_auditEntity 1 3 6 1 5 5 7 1 4 */ | 3424 | &(nid_objs[287]),/* OBJ_ac_auditEntity 1 3 6 1 5 5 7 1 4 */ |
3384 | &(nid_objs[288]),/* OBJ_ac_targeting 1 3 6 1 5 5 7 1 5 */ | 3425 | &(nid_objs[288]),/* OBJ_ac_targeting 1 3 6 1 5 5 7 1 5 */ |
3385 | &(nid_objs[289]),/* OBJ_aaControls 1 3 6 1 5 5 7 1 6 */ | 3426 | &(nid_objs[289]),/* OBJ_aaControls 1 3 6 1 5 5 7 1 6 */ |
3386 | &(nid_objs[290]),/* OBJ_sbqp_ipAddrBlock 1 3 6 1 5 5 7 1 7 */ | 3427 | &(nid_objs[290]),/* OBJ_sbgp_ipAddrBlock 1 3 6 1 5 5 7 1 7 */ |
3387 | &(nid_objs[291]),/* OBJ_sbqp_autonomousSysNum 1 3 6 1 5 5 7 1 8 */ | 3428 | &(nid_objs[291]),/* OBJ_sbgp_autonomousSysNum 1 3 6 1 5 5 7 1 8 */ |
3388 | &(nid_objs[292]),/* OBJ_sbqp_routerIdentifier 1 3 6 1 5 5 7 1 9 */ | 3429 | &(nid_objs[292]),/* OBJ_sbgp_routerIdentifier 1 3 6 1 5 5 7 1 9 */ |
3389 | &(nid_objs[397]),/* OBJ_ac_proxying 1 3 6 1 5 5 7 1 10 */ | 3430 | &(nid_objs[397]),/* OBJ_ac_proxying 1 3 6 1 5 5 7 1 10 */ |
3390 | &(nid_objs[398]),/* OBJ_sinfo_access 1 3 6 1 5 5 7 1 11 */ | 3431 | &(nid_objs[398]),/* OBJ_sinfo_access 1 3 6 1 5 5 7 1 11 */ |
3391 | &(nid_objs[663]),/* OBJ_proxyCertInfo 1 3 6 1 5 5 7 1 14 */ | 3432 | &(nid_objs[663]),/* OBJ_proxyCertInfo 1 3 6 1 5 5 7 1 14 */ |
@@ -3480,6 +3521,10 @@ static ASN1_OBJECT *obj_objs[NUM_OBJ]={ | |||
3480 | &(nid_objs[ 8]),/* OBJ_md5WithRSAEncryption 1 2 840 113549 1 1 4 */ | 3521 | &(nid_objs[ 8]),/* OBJ_md5WithRSAEncryption 1 2 840 113549 1 1 4 */ |
3481 | &(nid_objs[65]),/* OBJ_sha1WithRSAEncryption 1 2 840 113549 1 1 5 */ | 3522 | &(nid_objs[65]),/* OBJ_sha1WithRSAEncryption 1 2 840 113549 1 1 5 */ |
3482 | &(nid_objs[644]),/* OBJ_rsaOAEPEncryptionSET 1 2 840 113549 1 1 6 */ | 3523 | &(nid_objs[644]),/* OBJ_rsaOAEPEncryptionSET 1 2 840 113549 1 1 6 */ |
3524 | &(nid_objs[668]),/* OBJ_sha256WithRSAEncryption 1 2 840 113549 1 1 11 */ | ||
3525 | &(nid_objs[669]),/* OBJ_sha384WithRSAEncryption 1 2 840 113549 1 1 12 */ | ||
3526 | &(nid_objs[670]),/* OBJ_sha512WithRSAEncryption 1 2 840 113549 1 1 13 */ | ||
3527 | &(nid_objs[671]),/* OBJ_sha224WithRSAEncryption 1 2 840 113549 1 1 14 */ | ||
3483 | &(nid_objs[28]),/* OBJ_dhKeyAgreement 1 2 840 113549 1 3 1 */ | 3528 | &(nid_objs[28]),/* OBJ_dhKeyAgreement 1 2 840 113549 1 3 1 */ |
3484 | &(nid_objs[ 9]),/* OBJ_pbeWithMD2AndDES_CBC 1 2 840 113549 1 5 1 */ | 3529 | &(nid_objs[ 9]),/* OBJ_pbeWithMD2AndDES_CBC 1 2 840 113549 1 5 1 */ |
3485 | &(nid_objs[10]),/* OBJ_pbeWithMD5AndDES_CBC 1 2 840 113549 1 5 3 */ | 3530 | &(nid_objs[10]),/* OBJ_pbeWithMD5AndDES_CBC 1 2 840 113549 1 5 3 */ |
@@ -3544,6 +3589,10 @@ static ASN1_OBJECT *obj_objs[NUM_OBJ]={ | |||
3544 | &(nid_objs[427]),/* OBJ_aes_256_cbc 2 16 840 1 101 3 4 1 42 */ | 3589 | &(nid_objs[427]),/* OBJ_aes_256_cbc 2 16 840 1 101 3 4 1 42 */ |
3545 | &(nid_objs[428]),/* OBJ_aes_256_ofb128 2 16 840 1 101 3 4 1 43 */ | 3590 | &(nid_objs[428]),/* OBJ_aes_256_ofb128 2 16 840 1 101 3 4 1 43 */ |
3546 | &(nid_objs[429]),/* OBJ_aes_256_cfb128 2 16 840 1 101 3 4 1 44 */ | 3591 | &(nid_objs[429]),/* OBJ_aes_256_cfb128 2 16 840 1 101 3 4 1 44 */ |
3592 | &(nid_objs[672]),/* OBJ_sha256 2 16 840 1 101 3 4 2 1 */ | ||
3593 | &(nid_objs[673]),/* OBJ_sha384 2 16 840 1 101 3 4 2 2 */ | ||
3594 | &(nid_objs[674]),/* OBJ_sha512 2 16 840 1 101 3 4 2 3 */ | ||
3595 | &(nid_objs[675]),/* OBJ_sha224 2 16 840 1 101 3 4 2 4 */ | ||
3547 | &(nid_objs[71]),/* OBJ_netscape_cert_type 2 16 840 1 113730 1 1 */ | 3596 | &(nid_objs[71]),/* OBJ_netscape_cert_type 2 16 840 1 113730 1 1 */ |
3548 | &(nid_objs[72]),/* OBJ_netscape_base_url 2 16 840 1 113730 1 2 */ | 3597 | &(nid_objs[72]),/* OBJ_netscape_base_url 2 16 840 1 113730 1 2 */ |
3549 | &(nid_objs[73]),/* OBJ_netscape_revocation_url 2 16 840 1 113730 1 3 */ | 3598 | &(nid_objs[73]),/* OBJ_netscape_revocation_url 2 16 840 1 113730 1 3 */ |
diff --git a/src/lib/libcrypto/objects/obj_mac.h b/src/lib/libcrypto/objects/obj_mac.h index d28894cf41..51bb50047f 100644 --- a/src/lib/libcrypto/objects/obj_mac.h +++ b/src/lib/libcrypto/objects/obj_mac.h | |||
@@ -241,6 +241,26 @@ | |||
241 | #define NID_sha1WithRSAEncryption 65 | 241 | #define NID_sha1WithRSAEncryption 65 |
242 | #define OBJ_sha1WithRSAEncryption OBJ_pkcs1,5L | 242 | #define OBJ_sha1WithRSAEncryption OBJ_pkcs1,5L |
243 | 243 | ||
244 | #define SN_sha256WithRSAEncryption "RSA-SHA256" | ||
245 | #define LN_sha256WithRSAEncryption "sha256WithRSAEncryption" | ||
246 | #define NID_sha256WithRSAEncryption 668 | ||
247 | #define OBJ_sha256WithRSAEncryption OBJ_pkcs1,11L | ||
248 | |||
249 | #define SN_sha384WithRSAEncryption "RSA-SHA384" | ||
250 | #define LN_sha384WithRSAEncryption "sha384WithRSAEncryption" | ||
251 | #define NID_sha384WithRSAEncryption 669 | ||
252 | #define OBJ_sha384WithRSAEncryption OBJ_pkcs1,12L | ||
253 | |||
254 | #define SN_sha512WithRSAEncryption "RSA-SHA512" | ||
255 | #define LN_sha512WithRSAEncryption "sha512WithRSAEncryption" | ||
256 | #define NID_sha512WithRSAEncryption 670 | ||
257 | #define OBJ_sha512WithRSAEncryption OBJ_pkcs1,13L | ||
258 | |||
259 | #define SN_sha224WithRSAEncryption "RSA-SHA224" | ||
260 | #define LN_sha224WithRSAEncryption "sha224WithRSAEncryption" | ||
261 | #define NID_sha224WithRSAEncryption 671 | ||
262 | #define OBJ_sha224WithRSAEncryption OBJ_pkcs1,14L | ||
263 | |||
244 | #define SN_pkcs3 "pkcs3" | 264 | #define SN_pkcs3 "pkcs3" |
245 | #define NID_pkcs3 27 | 265 | #define NID_pkcs3 27 |
246 | #define OBJ_pkcs3 OBJ_pkcs,3L | 266 | #define OBJ_pkcs3 OBJ_pkcs,3L |
@@ -1048,17 +1068,17 @@ | |||
1048 | #define NID_aaControls 289 | 1068 | #define NID_aaControls 289 |
1049 | #define OBJ_aaControls OBJ_id_pe,6L | 1069 | #define OBJ_aaControls OBJ_id_pe,6L |
1050 | 1070 | ||
1051 | #define SN_sbqp_ipAddrBlock "sbqp-ipAddrBlock" | 1071 | #define SN_sbgp_ipAddrBlock "sbgp-ipAddrBlock" |
1052 | #define NID_sbqp_ipAddrBlock 290 | 1072 | #define NID_sbgp_ipAddrBlock 290 |
1053 | #define OBJ_sbqp_ipAddrBlock OBJ_id_pe,7L | 1073 | #define OBJ_sbgp_ipAddrBlock OBJ_id_pe,7L |
1054 | 1074 | ||
1055 | #define SN_sbqp_autonomousSysNum "sbqp-autonomousSysNum" | 1075 | #define SN_sbgp_autonomousSysNum "sbgp-autonomousSysNum" |
1056 | #define NID_sbqp_autonomousSysNum 291 | 1076 | #define NID_sbgp_autonomousSysNum 291 |
1057 | #define OBJ_sbqp_autonomousSysNum OBJ_id_pe,8L | 1077 | #define OBJ_sbgp_autonomousSysNum OBJ_id_pe,8L |
1058 | 1078 | ||
1059 | #define SN_sbqp_routerIdentifier "sbqp-routerIdentifier" | 1079 | #define SN_sbgp_routerIdentifier "sbgp-routerIdentifier" |
1060 | #define NID_sbqp_routerIdentifier 292 | 1080 | #define NID_sbgp_routerIdentifier 292 |
1061 | #define OBJ_sbqp_routerIdentifier OBJ_id_pe,9L | 1081 | #define OBJ_sbgp_routerIdentifier OBJ_id_pe,9L |
1062 | 1082 | ||
1063 | #define SN_ac_proxying "ac-proxying" | 1083 | #define SN_ac_proxying "ac-proxying" |
1064 | #define NID_ac_proxying 397 | 1084 | #define NID_ac_proxying 397 |
@@ -1779,6 +1799,11 @@ | |||
1779 | #define NID_delta_crl 140 | 1799 | #define NID_delta_crl 140 |
1780 | #define OBJ_delta_crl OBJ_id_ce,27L | 1800 | #define OBJ_delta_crl OBJ_id_ce,27L |
1781 | 1801 | ||
1802 | #define SN_name_constraints "nameConstraints" | ||
1803 | #define LN_name_constraints "X509v3 Name Constraints" | ||
1804 | #define NID_name_constraints 666 | ||
1805 | #define OBJ_name_constraints OBJ_id_ce,30L | ||
1806 | |||
1782 | #define SN_crl_distribution_points "crlDistributionPoints" | 1807 | #define SN_crl_distribution_points "crlDistributionPoints" |
1783 | #define LN_crl_distribution_points "X509v3 CRL Distribution Points" | 1808 | #define LN_crl_distribution_points "X509v3 CRL Distribution Points" |
1784 | #define NID_crl_distribution_points 103 | 1809 | #define NID_crl_distribution_points 103 |
@@ -2081,6 +2106,28 @@ | |||
2081 | #define LN_des_ede3_cfb8 "des-ede3-cfb8" | 2106 | #define LN_des_ede3_cfb8 "des-ede3-cfb8" |
2082 | #define NID_des_ede3_cfb8 659 | 2107 | #define NID_des_ede3_cfb8 659 |
2083 | 2108 | ||
2109 | #define OBJ_nist_hashalgs OBJ_nistAlgorithms,2L | ||
2110 | |||
2111 | #define SN_sha256 "SHA256" | ||
2112 | #define LN_sha256 "sha256" | ||
2113 | #define NID_sha256 672 | ||
2114 | #define OBJ_sha256 OBJ_nist_hashalgs,1L | ||
2115 | |||
2116 | #define SN_sha384 "SHA384" | ||
2117 | #define LN_sha384 "sha384" | ||
2118 | #define NID_sha384 673 | ||
2119 | #define OBJ_sha384 OBJ_nist_hashalgs,2L | ||
2120 | |||
2121 | #define SN_sha512 "SHA512" | ||
2122 | #define LN_sha512 "sha512" | ||
2123 | #define NID_sha512 674 | ||
2124 | #define OBJ_sha512 OBJ_nist_hashalgs,3L | ||
2125 | |||
2126 | #define SN_sha224 "SHA224" | ||
2127 | #define LN_sha224 "sha224" | ||
2128 | #define NID_sha224 675 | ||
2129 | #define OBJ_sha224 OBJ_nist_hashalgs,4L | ||
2130 | |||
2084 | #define SN_hold_instruction_code "holdInstructionCode" | 2131 | #define SN_hold_instruction_code "holdInstructionCode" |
2085 | #define LN_hold_instruction_code "Hold Instruction Code" | 2132 | #define LN_hold_instruction_code "Hold Instruction Code" |
2086 | #define NID_hold_instruction_code 430 | 2133 | #define NID_hold_instruction_code 430 |