aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-06-30 10:57:01 -0400
committerJack Lloyd <[email protected]>2017-06-30 10:57:01 -0400
commit884fd85a05e055e497a68a5d2b0bd937290bfca4 (patch)
tree21e3af1a76855342b9014c909cf427e71eee1a23 /src/build-data
parentc09e7780e1ce3aa6eab5e7fb8fb4ed504493fd37 (diff)
parenta296f8e629d968642989d9d385c2b089840cf6fb (diff)
Merge GH #1082 Add support for SM2 signature scheme
Diffstat (limited to 'src/build-data')
-rw-r--r--src/build-data/oids.txt6
-rw-r--r--src/build-data/policy/bsi.txt1
2 files changed, 7 insertions, 0 deletions
diff --git a/src/build-data/oids.txt b/src/build-data/oids.txt
index 41e599e29..1ee09583b 100644
--- a/src/build-data/oids.txt
+++ b/src/build-data/oids.txt
@@ -16,6 +16,10 @@
1.2.840.10045.2.1 = ECDSA
1.3.132.1.12 = ECDH
+1.2.156.10197.1.301.1 = SM2_Sig
+1.2.156.10197.1.301.2 = SM2_Kex
+1.2.156.10197.1.301.3 = SM2_Enc
+
# ecgPublicKey (see https://www.teletrust.de/projekte/oid/)
1.3.36.3.3.2.5.2.1 = ECGDSA
@@ -236,6 +240,8 @@
1.2.840.10045.3.1.6 = x962_p239v3
1.2.840.10045.3.1.7 = secp256r1
+1.2.156.10197.1.301 = sm2p256v1
+
1.3.36.3.3.2.8.1.1.1 = brainpool160r1
1.3.36.3.3.2.8.1.1.3 = brainpool192r1
1.3.36.3.3.2.8.1.1.5 = brainpool224r1
diff --git a/src/build-data/policy/bsi.txt b/src/build-data/policy/bsi.txt
index c1dbf3899..c4b9e4769 100644
--- a/src/build-data/policy/bsi.txt
+++ b/src/build-data/policy/bsi.txt
@@ -131,6 +131,7 @@ mce
mceies
rfc6979
newhope
+sm2
# pk_pad
#eme_pkcs1 // needed for tls