]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Add OIDs id-kp-wisun-fan-device and id-on-hardwareModule
authorMathis Marion <mathis.marion@silabs.com>
Fri, 12 Jan 2024 15:48:15 +0000 (16:48 +0100)
committerTomas Mraz <tomas@openssl.org>
Wed, 7 Aug 2024 17:53:19 +0000 (19:53 +0200)
Sub-OIDs for {iso(1) identified-organization(3) dod(6) internet(1)
private(4) enterprise(1) 45605} are recorded in the document "Wi-SUN
Assigned Value Registry" (WAVR).

OID id-on-hardwareModule is defined in RFC 4108.

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23428)

crypto/objects/obj_dat.h
crypto/objects/obj_mac.num
crypto/objects/objects.txt
fuzz/oids.txt
include/openssl/obj_mac.h

index eaf0981599b518b11530e7ea1f9e1501667a5254..d86f5f83ad3c0f4cfc1d2e1f03c00fb3dbfb439c 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 /* Serialized OID's */
-static const unsigned char so[8487] = {
+static const unsigned char so[8504] = {
     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 */
@@ -1183,9 +1183,11 @@ static const unsigned char so[8487] = {
     0x55,0x1D,0x4A,                                /* [ 8469] OBJ_alt_signature_value */
     0x55,0x1D,0x4B,                                /* [ 8472] OBJ_associated_information */
     0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x10,0x01,0x33,  /* [ 8475] OBJ_id_ct_rpkiSignedPrefixList */
+    0x2B,0x06,0x01,0x05,0x05,0x07,0x08,0x04,       /* [ 8486] OBJ_id_on_hardwareModuleName */
+    0x2B,0x06,0x01,0x04,0x01,0x82,0xE4,0x25,0x01,  /* [ 8494] OBJ_id_kp_wisun_fan_device */
 };
 
-#define NUM_NID 1321
+#define NUM_NID 1323
 static const ASN1_OBJECT nid_objs[NUM_NID] = {
     {"UNDEF", "undefined", NID_undef},
     {"rsadsi", "RSA Data Security, Inc.", NID_rsadsi, 6, &so[0]},
@@ -2508,9 +2510,11 @@ static const ASN1_OBJECT nid_objs[NUM_NID] = {
     {"altSignatureValue", "X509v3 Alternative Signature Value", NID_alt_signature_value, 3, &so[8469]},
     {"associatedInformation", "X509v3 Associated Information", NID_associated_information, 3, &so[8472]},
     {"id-ct-rpkiSignedPrefixList", "id-ct-rpkiSignedPrefixList", NID_id_ct_rpkiSignedPrefixList, 11, &so[8475]},
+    {"id-on-hardwareModuleName", "Hardware Module Name", NID_id_on_hardwareModuleName, 8, &so[8486]},
+    {"id-kp-wisun-fan-device", "Wi-SUN Alliance Field Area Network (FAN)", NID_id_kp_wisun_fan_device, 9, &so[8494]},
 };
 
-#define NUM_SN 1312
+#define NUM_SN 1314
 static const unsigned int sn_objs[NUM_SN] = {
      364,    /* "AD_DVCS" */
      419,    /* "AES-128-CBC" */
@@ -3217,6 +3221,7 @@ static const unsigned int sn_objs[NUM_SN] = {
      128,    /* "id-kp" */
     1221,    /* "id-kp-BrandIndicatorforMessageIdentification" */
     1220,    /* "id-kp-bgpsec-router" */
+    1322,    /* "id-kp-wisun-fan-device" */
      280,    /* "id-mod-attribute-cert" */
      274,    /* "id-mod-cmc" */
      277,    /* "id-mod-cmp" */
@@ -3236,6 +3241,7 @@ static const unsigned int sn_objs[NUM_SN] = {
     1211,    /* "id-on-NAIRealm" */
     1208,    /* "id-on-SmtpUTF8Mailbox" */
     1210,    /* "id-on-dnsSRV" */
+    1321,    /* "id-on-hardwareModuleName" */
      858,    /* "id-on-permanentIdentifier" */
      347,    /* "id-on-personalData" */
     1209,    /* "id-on-xmppAddr" */
@@ -3826,7 +3832,7 @@ static const unsigned int sn_objs[NUM_SN] = {
     1289,    /* "zstd" */
 };
 
-#define NUM_LN 1312
+#define NUM_LN 1314
 static const unsigned int ln_objs[NUM_LN] = {
      363,    /* "AD Time Stamping" */
      405,    /* "ANSI X9.62" */
@@ -3921,6 +3927,7 @@ static const unsigned int ln_objs[NUM_LN] = {
      988,    /* "HMAC GOST 34.11-2012 256 bit" */
      989,    /* "HMAC GOST 34.11-2012 512 bit" */
      810,    /* "HMAC GOST 34.11-94" */
+    1321,    /* "Hardware Module Name" */
      432,    /* "Hold Instruction Call Issuer" */
      430,    /* "Hold Instruction Code" */
      431,    /* "Hold Instruction None" */
@@ -4029,6 +4036,7 @@ static const unsigned int ln_objs[NUM_LN] = {
      133,    /* "Time Stamping" */
      375,    /* "Trust Root" */
     1283,    /* "Trusted key usage (Oracle)" */
+    1322,    /* "Wi-SUN Alliance Field Area Network (FAN)" */
     1034,    /* "X25519" */
     1035,    /* "X448" */
       12,    /* "X509" */
@@ -5142,7 +5150,7 @@ static const unsigned int ln_objs[NUM_LN] = {
      125,    /* "zlib compression" */
 };
 
-#define NUM_OBJ 1178
+#define NUM_OBJ 1180
 static const unsigned int obj_objs[NUM_OBJ] = {
        0,    /* OBJ_undef                        0 */
      181,    /* OBJ_iso                          1 */
@@ -5862,6 +5870,7 @@ static const unsigned int obj_objs[NUM_OBJ] = {
      346,    /* OBJ_id_cmc_confirmCertAcceptance 1 3 6 1 5 5 7 7 24 */
      347,    /* OBJ_id_on_personalData           1 3 6 1 5 5 7 8 1 */
      858,    /* OBJ_id_on_permanentIdentifier    1 3 6 1 5 5 7 8 3 */
+    1321,    /* OBJ_id_on_hardwareModuleName     1 3 6 1 5 5 7 8 4 */
     1209,    /* OBJ_XmppAddr                     1 3 6 1 5 5 7 8 5 */
     1210,    /* OBJ_SRVName                      1 3 6 1 5 5 7 8 7 */
     1211,    /* OBJ_NAIRealm                     1 3 6 1 5 5 7 8 8 */
@@ -5999,6 +6008,7 @@ static const unsigned int obj_objs[NUM_OBJ] = {
     1293,    /* OBJ_ms_cert_templ                1 3 6 1 4 1 311 21 7 */
     1294,    /* OBJ_ms_app_policies              1 3 6 1 4 1 311 21 10 */
     1292,    /* OBJ_ms_ntds_sec_ext              1 3 6 1 4 1 311 25 2 */
+    1322,    /* OBJ_id_kp_wisun_fan_device       1 3 6 1 4 1 45605 1 */
      390,    /* OBJ_dcObject                     1 3 6 1 4 1 1466 344 */
       91,    /* OBJ_bf_cbc                       1 3 6 1 4 1 3029 1 2 */
      973,    /* OBJ_id_scrypt                    1 3 6 1 4 1 11591 4 11 */
index 7a3e0d3cc79dce58246a9ff82e9469f41e0a5767..f9c528c97258c29fd5f24125f89bc8355397181b 100644 (file)
@@ -1318,3 +1318,5 @@ alt_signature_algorithm           1317
 alt_signature_value            1318
 associated_information         1319
 id_ct_rpkiSignedPrefixList             1320
+id_on_hardwareModuleName               1321
+id_kp_wisun_fan_device         1322
index 86c39603753fb5c55bd6af2b39260e10c421fd89..42302e40eba0f65b879c9acc7223a365beee707b 100644 (file)
@@ -657,6 +657,7 @@ id-cmc 24           : id-cmc-confirmCertAcceptance
 # other names
 id-on 1                        : id-on-personalData
 id-on 3                        : id-on-permanentIdentifier : Permanent Identifier
+id-on 4                        : id-on-hardwareModuleName : Hardware Module Name
 id-on 5                        : id-on-xmppAddr : XmppAddr
 id-on 7                        : id-on-dnsSRV : SRVName
 id-on 8                        : id-on-NAIRealm : NAIRealm
@@ -994,6 +995,9 @@ Private 1           : enterprises           : Enterprises
 # RFC 2247
 Enterprises 1466 344   : dcobject              : dcObject
 
+# Wi-SUN Assigned Value Registry
+Enterprises 45605 1     : id-kp-wisun-fan-device : Wi-SUN Alliance Field Area Network (FAN)
+
 # RFC 1495
 Mail 1                 : mime-mhs              : MIME MHS
 mime-mhs 1             : mime-mhs-headings     : mime-mhs-headings
index 1b61a0d625def64f40f0a212a207c2f5a838f425..3d5a8e726e03fb0bd354698b7d52255afbaffcae 100644 (file)
@@ -1179,3 +1179,5 @@ OBJ_alt_signature_algorithm="\x55\x1D\x49"
 OBJ_alt_signature_value="\x55\x1D\x4A"
 OBJ_associated_information="\x55\x1D\x4B"
 OBJ_id_ct_rpkiSignedPrefixList="\x2A\x86\x48\x86\xF7\x0D\x01\x09\x10\x01\x33"
+OBJ_id_on_hardwareModuleName="\x2B\x06\x01\x05\x05\x07\x08\x04"
+OBJ_id_kp_wisun_fan_device="\x2B\x06\x01\x04\x01\x82\xE4\x25\x01"
index 1b7d9240a9968ec553af3c4c05720477fdd745c6..b7cc9ece8688e8741523309ea4d3a36bb12652eb 100644 (file)
 #define NID_id_on_permanentIdentifier           858
 #define OBJ_id_on_permanentIdentifier           OBJ_id_on,3L
 
+#define SN_id_on_hardwareModuleName             "id-on-hardwareModuleName"
+#define LN_id_on_hardwareModuleName             "Hardware Module Name"
+#define NID_id_on_hardwareModuleName            1321
+#define OBJ_id_on_hardwareModuleName            OBJ_id_on,4L
+
 #define SN_XmppAddr             "id-on-xmppAddr"
 #define LN_XmppAddr             "XmppAddr"
 #define NID_XmppAddr            1209
 #define NID_dcObject            390
 #define OBJ_dcObject            OBJ_Enterprises,1466L,344L
 
+#define SN_id_kp_wisun_fan_device               "id-kp-wisun-fan-device"
+#define LN_id_kp_wisun_fan_device               "Wi-SUN Alliance Field Area Network (FAN)"
+#define NID_id_kp_wisun_fan_device              1322
+#define OBJ_id_kp_wisun_fan_device              OBJ_Enterprises,45605L,1L
+
 #define SN_mime_mhs             "mime-mhs"
 #define LN_mime_mhs             "MIME MHS"
 #define NID_mime_mhs            504