Add Whirlpool OID.
authorAndy Polyakov <appro@openssl.org>
Mon, 28 Nov 2005 20:51:46 +0000 (20:51 +0000)
committerAndy Polyakov <appro@openssl.org>
Mon, 28 Nov 2005 20:51:46 +0000 (20:51 +0000)
crypto/objects/obj_dat.h
crypto/objects/obj_mac.h
crypto/objects/obj_mac.num
crypto/objects/objects.txt

index 1ddbc13369d8fb5cb1f9e05bb70984277945160e..562c91b9c87adee6f5d40a6210a8a4df7f03e365 100644 (file)
  * [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 */
index 60b9c7c950fe8cd92e62d6bd22e253575cf9fe1c..b01104b6b88a3cdbb4227cef8ea0f2fc41656d4e 100644 (file)
 #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
+
index 24538874de2b28032c9c38bbaf4d841d2c35abef..20c3b19a13bde734c03a0112350427f595448e7e 100644 (file)
@@ -749,3 +749,4 @@ id_ppl_anyLanguage          748
 id_ppl_inheritAll              749
 Independent            750
 issuing_distribution_point             751
+whirlpool              752
index fa632beec05f35fc758bc249a7eaba50eb3856bb..37a9c2b0cf5a958ab3770672a8e226c0cd89e249 100644 (file)
@@ -1049,3 +1049,5 @@ rsadsi 1 1 6              : rsaOAEPEncryptionSET
 
                        : Oakley-EC2N-3         : ipsec3
                        : Oakley-EC2N-4         : ipsec4
+
+iso 0 10118 3 0 55     : whirlpool