diff options
author | Jack Lloyd <[email protected]> | 2018-07-24 18:03:45 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-07-24 18:03:45 -0400 |
commit | c5b1e4f295bbc25196897a5cae6a6aa4ef4545dc (patch) | |
tree | a8b8141395bb598af7e4022e843c315d1a0a8821 /src/lib | |
parent | 0da4e9e6316ce0953866157f15f5aed82a5e4728 (diff) |
Add OID for SM2 with SM3 signatures
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/asn1/oid_maps.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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}) }, |