From 3009458e2f63b84e9631dfbf8b5c7cb38b2b283c Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 14 Aug 2000 14:05:53 +0000 Subject: MD4 implemented. Assar Westerlund provided the digest code itself and the test utility, I added the bits to get a EVP interface, the command line utility and the speed test --- crypto/objects/obj_dat.h | 13 +++++++------ crypto/objects/obj_mac.h | 8 ++++---- 2 files changed, 11 insertions(+), 10 deletions(-) (limited to 'crypto/objects') diff --git a/crypto/objects/obj_dat.h b/crypto/objects/obj_dat.h index 11542ead00..082c435cac 100644 --- a/crypto/objects/obj_dat.h +++ b/crypto/objects/obj_dat.h @@ -993,8 +993,9 @@ static ASN1_OBJECT nid_objs[NUM_NID]={ &(lvalues[2695]),0}, {"id-cct-PKIResponse","id-cct-PKIResponse",NID_id_cct_PKIResponse,8, &(lvalues[2703]),0}, -{"timestamping","Time Stamping",NID_ad_timeStamping,8,&(lvalues[2711]),0}, -{"DVCS","dvcs",NID_ad_dvcs,8,&(lvalues[2719]),0}, +{"ad_timestamping","AD Time Stamping",NID_ad_timeStamping,8, + &(lvalues[2711]),0}, +{"AD_DVCS","ad dvcs",NID_ad_dvcs,8,&(lvalues[2719]),0}, {"basicOCSPResponse","Basic OCSP Response",NID_id_pkix_OCSP_basic,9, &(lvalues[2727]),0}, {"Nonce","OCSP Nonce",NID_id_pkix_OCSP_Nonce,9,&(lvalues[2736]),0}, @@ -1019,6 +1020,7 @@ static ASN1_OBJECT nid_objs[NUM_NID]={ }; static ASN1_OBJECT *sn_objs[NUM_SN]={ +&(nid_objs[364]),/* "AD_DVCS" */ &(nid_objs[91]),/* "BF-CBC" */ &(nid_objs[93]),/* "BF-CFB" */ &(nid_objs[92]),/* "BF-ECB" */ @@ -1051,7 +1053,6 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={ &(nid_objs[70]),/* "DSA-SHA1-old" */ &(nid_objs[67]),/* "DSA-old" */ &(nid_objs[297]),/* "DVCS" */ -&(nid_objs[364]),/* "DVCS" */ &(nid_objs[48]),/* "Email" */ &(nid_objs[99]),/* "G" */ &(nid_objs[101]),/* "I" */ @@ -1133,6 +1134,7 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={ &(nid_objs[287]),/* "ac-auditEntity" */ &(nid_objs[288]),/* "ac-targeting" */ &(nid_objs[368]),/* "acceptableResponses" */ +&(nid_objs[363]),/* "ad_timestamping" */ &(nid_objs[376]),/* "algorithm" */ &(nid_objs[370]),/* "archiveCutoff" */ &(nid_objs[177]),/* "authorityInfoAccess" */ @@ -1390,7 +1392,6 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={ &(nid_objs[82]),/* "subjectKeyIdentifier" */ &(nid_objs[293]),/* "textNotice" */ &(nid_objs[133]),/* "timeStamping" */ -&(nid_objs[363]),/* "timestamping" */ &(nid_objs[375]),/* "trustRoot" */ &(nid_objs[55]),/* "unstructuredAddress" */ &(nid_objs[49]),/* "unstructuredName" */ @@ -1400,6 +1401,7 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={ }; static ASN1_OBJECT *ln_objs[NUM_LN]={ +&(nid_objs[363]),/* "AD Time Stamping" */ &(nid_objs[368]),/* "Acceptable OCSP Responses" */ &(nid_objs[177]),/* "Authority Information Access" */ &(nid_objs[365]),/* "Basic OCSP Response" */ @@ -1454,7 +1456,6 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={ &(nid_objs[130]),/* "TLS Web Client Authentication" */ &(nid_objs[129]),/* "TLS Web Server Authentication" */ &(nid_objs[133]),/* "Time Stamping" */ -&(nid_objs[363]),/* "Time Stamping" */ &(nid_objs[375]),/* "Trust Root" */ &(nid_objs[12]),/* "X509" */ &(nid_objs[90]),/* "X509v3 Authority Key Identifier" */ @@ -1475,6 +1476,7 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={ &(nid_objs[289]),/* "aaControls" */ &(nid_objs[287]),/* "ac-auditEntity" */ &(nid_objs[288]),/* "ac-targeting" */ +&(nid_objs[364]),/* "ad dvcs" */ &(nid_objs[376]),/* "algorithm" */ &(nid_objs[91]),/* "bf-cbc" */ &(nid_objs[93]),/* "bf-cfb" */ @@ -1514,7 +1516,6 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={ &(nid_objs[66]),/* "dsaWithSHA" */ &(nid_objs[113]),/* "dsaWithSHA1" */ &(nid_objs[70]),/* "dsaWithSHA1-old" */ -&(nid_objs[364]),/* "dvcs" */ &(nid_objs[297]),/* "dvcs" */ &(nid_objs[48]),/* "emailAddress" */ &(nid_objs[56]),/* "extendedCertificateAttributes" */ diff --git a/crypto/objects/obj_mac.h b/crypto/objects/obj_mac.h index 1da4949bc9..79a1ba0a6c 100644 --- a/crypto/objects/obj_mac.h +++ b/crypto/objects/obj_mac.h @@ -1290,13 +1290,13 @@ #define NID_ad_ca_issuers 179 #define OBJ_ad_ca_issuers OBJ_id_ad,2L -#define SN_ad_timeStamping "timestamping" -#define LN_ad_timeStamping "Time Stamping" +#define SN_ad_timeStamping "ad_timestamping" +#define LN_ad_timeStamping "AD Time Stamping" #define NID_ad_timeStamping 363 #define OBJ_ad_timeStamping OBJ_id_ad,3L -#define SN_ad_dvcs "DVCS" -#define LN_ad_dvcs "dvcs" +#define SN_ad_dvcs "AD_DVCS" +#define LN_ad_dvcs "ad dvcs" #define NID_ad_dvcs 364 #define OBJ_ad_dvcs OBJ_id_ad,4L -- cgit v1.2.3