From: Andy Polyakov Date: Mon, 28 Nov 2005 20:51:46 +0000 (+0000) Subject: Add Whirlpool OID. X-Git-Tag: OpenSSL_0_9_8k^2~1686 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=f106fb85d4ca77b3c31535d08f126f574a93853b Add Whirlpool OID. --- diff --git a/crypto/objects/obj_dat.h b/crypto/objects/obj_dat.h index 1ddbc13369..562c91b9c8 100644 --- a/crypto/objects/obj_dat.h +++ b/crypto/objects/obj_dat.h @@ -62,12 +62,12 @@ * [including the GNU Public Licence.] */ -#define NUM_NID 752 -#define NUM_SN 748 -#define NUM_LN 748 -#define NUM_OBJ 710 +#define NUM_NID 753 +#define NUM_SN 749 +#define NUM_LN 749 +#define NUM_OBJ 711 -static unsigned char lvalues[5005]={ +static unsigned char lvalues[5011]={ 0x00, /* [ 0] OBJ_undef */ 0x2A,0x86,0x48,0x86,0xF7,0x0D, /* [ 1] OBJ_rsadsi */ 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01, /* [ 7] OBJ_pkcs */ @@ -778,6 +778,7 @@ static unsigned char lvalues[5005]={ 0x2B,0x06,0x01,0x05,0x05,0x07,0x15,0x01, /* [4985] OBJ_id_ppl_inheritAll */ 0x2B,0x06,0x01,0x05,0x05,0x07,0x15,0x02, /* [4993] OBJ_Independent */ 0x55,0x1D,0x1C, /* [5001] OBJ_issuing_distribution_point */ +0x28,0xCF,0x06,0x03,0x00,0x37, /* [5004] OBJ_whirlpool */ }; static ASN1_OBJECT nid_objs[NUM_NID]={ @@ -1948,6 +1949,7 @@ static ASN1_OBJECT nid_objs[NUM_NID]={ {"id-ppl-independent","Independent",NID_Independent,8,&(lvalues[4993]),0}, {"issuingDistributionPoint","X509v3 Issuing Distrubution Point", NID_issuing_distribution_point,3,&(lvalues[5001]),0}, +{"whirlpool","whirlpool",NID_whirlpool,6,&(lvalues[5004]),0}, }; static ASN1_OBJECT *sn_objs[NUM_SN]={ @@ -2696,6 +2698,7 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={ &(nid_objs[726]),/* "wap-wsg-idm-ecid-wtls7" */ &(nid_objs[727]),/* "wap-wsg-idm-ecid-wtls8" */ &(nid_objs[728]),/* "wap-wsg-idm-ecid-wtls9" */ +&(nid_objs[752]),/* "whirlpool" */ &(nid_objs[503]),/* "x500UniqueIdentifier" */ &(nid_objs[158]),/* "x509Certificate" */ &(nid_objs[160]),/* "x509Crl" */ @@ -3446,6 +3449,7 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={ &(nid_objs[726]),/* "wap-wsg-idm-ecid-wtls7" */ &(nid_objs[727]),/* "wap-wsg-idm-ecid-wtls8" */ &(nid_objs[728]),/* "wap-wsg-idm-ecid-wtls9" */ +&(nid_objs[752]),/* "whirlpool" */ &(nid_objs[503]),/* "x500UniqueIdentifier" */ &(nid_objs[158]),/* "x509Certificate" */ &(nid_objs[160]),/* "x509Crl" */ @@ -3719,6 +3723,7 @@ static ASN1_OBJECT *obj_objs[NUM_OBJ]={ &(nid_objs[729]),/* OBJ_wap_wsg_idm_ecid_wtls10 2 23 43 13 4 10 */ &(nid_objs[730]),/* OBJ_wap_wsg_idm_ecid_wtls11 2 23 43 13 4 11 */ &(nid_objs[731]),/* OBJ_wap_wsg_idm_ecid_wtls12 2 23 43 13 4 12 */ +&(nid_objs[752]),/* OBJ_whirlpool 1 0 10118 3 0 55 */ &(nid_objs[124]),/* OBJ_rle_compression 1 1 1 1 666 1 */ &(nid_objs[125]),/* OBJ_zlib_compression 1 1 1 1 666 2 */ &(nid_objs[ 1]),/* OBJ_rsadsi 1 2 840 113549 */ diff --git a/crypto/objects/obj_mac.h b/crypto/objects/obj_mac.h index 60b9c7c950..b01104b6b8 100644 --- a/crypto/objects/obj_mac.h +++ b/crypto/objects/obj_mac.h @@ -3308,3 +3308,7 @@ #define LN_ipsec4 "ipsec4" #define NID_ipsec4 745 +#define SN_whirlpool "whirlpool" +#define NID_whirlpool 752 +#define OBJ_whirlpool OBJ_iso,0L,10118L,3L,0L,55L + diff --git a/crypto/objects/obj_mac.num b/crypto/objects/obj_mac.num index 24538874de..20c3b19a13 100644 --- a/crypto/objects/obj_mac.num +++ b/crypto/objects/obj_mac.num @@ -749,3 +749,4 @@ id_ppl_anyLanguage 748 id_ppl_inheritAll 749 Independent 750 issuing_distribution_point 751 +whirlpool 752 diff --git a/crypto/objects/objects.txt b/crypto/objects/objects.txt index fa632beec0..37a9c2b0cf 100644 --- a/crypto/objects/objects.txt +++ b/crypto/objects/objects.txt @@ -1049,3 +1049,5 @@ rsadsi 1 1 6 : rsaOAEPEncryptionSET : Oakley-EC2N-3 : ipsec3 : Oakley-EC2N-4 : ipsec4 + +iso 0 10118 3 0 55 : whirlpool