diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/build-data/oids.txt | 2 | ||||
-rw-r--r-- | src/lib/asn1/oid_maps.cpp | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/build-data/oids.txt b/src/build-data/oids.txt index d614d3e94..4f9affadf 100644 --- a/src/build-data/oids.txt +++ b/src/build-data/oids.txt @@ -138,6 +138,8 @@ 1.2.840.113549.1.1.14 = RSA/EMSA3(SHA-224) 1.2.840.113549.1.1.16 = RSA/EMSA3(SHA-512-256) 1.3.36.3.3.1.2 = RSA/EMSA3(RIPEMD-160) + +1.2.156.10197.1.501 = SM2_Sig/SM3 1.2.156.10197.1.504 = RSA/EMSA3(SM3) 1.2.840.10040.4.3 = DSA/EMSA1(SHA-160) diff --git a/src/lib/asn1/oid_maps.cpp b/src/lib/asn1/oid_maps.cpp index c97a74112..c69b3a08a 100644 --- a/src/lib/asn1/oid_maps.cpp +++ b/src/lib/asn1/oid_maps.cpp @@ -1,7 +1,7 @@ /* * OID maps * -* This file was automatically generated by ./src/scripts/oids.py on 2018-07-13 +* This file was automatically generated by ./src/scripts/oids.py on 2018-07-24 * * All manual edits to this file will be lost. Edit the script * then regenerate this source file. @@ -28,6 +28,7 @@ std::unordered_map<std::string, std::string> OIDS::load_oid2str_map() { "1.2.156.10197.1.301.2", "SM2_Kex" }, { "1.2.156.10197.1.301.3", "SM2_Enc" }, { "1.2.156.10197.1.401", "SM3" }, + { "1.2.156.10197.1.501", "SM2_Sig/SM3" }, { "1.2.156.10197.1.504", "RSA/EMSA3(SM3)" }, { "1.2.250.1.223.101.256.1", "frp256v1" }, { "1.2.392.200011.61.1.1.1.2", "Camellia-128/CBC" }, @@ -367,6 +368,7 @@ std::unordered_map<std::string, OID> OIDS::load_str2oid_map() { "SM2_Enc", OID({1,2,156,10197,1,301,3}) }, { "SM2_Kex", OID({1,2,156,10197,1,301,2}) }, { "SM2_Sig", OID({1,2,156,10197,1,301,1}) }, + { "SM2_Sig/SM3", OID({1,2,156,10197,1,501}) }, { "SM3", OID({1,2,156,10197,1,401}) }, { "SM4/CBC", OID({1,2,156,10197,1,104,2}) }, { "SM4/GCM", OID({1,2,156,10197,1,104,8}) }, |