summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/objects
diff options
context:
space:
mode:
authortb <>2018-11-11 06:53:31 +0000
committertb <>2018-11-11 06:53:31 +0000
commit1d52a77751bd718c4bc8afa60ff78c4306636cd9 (patch)
treec825763485b682e2b4d62f2c543f52d67260398e /src/lib/libcrypto/objects
parent02538eda2e860ce41169bbc6f0d2519d31eda733 (diff)
downloadopenbsd-1d52a77751bd718c4bc8afa60ff78c4306636cd9.tar.gz
openbsd-1d52a77751bd718c4bc8afa60ff78c4306636cd9.tar.bz2
openbsd-1d52a77751bd718c4bc8afa60ff78c4306636cd9.zip
Add Ribose Inc's implementation of the SM3 hashing function with
tweaks from jsing and myself. The SM2/SM3/SM4 algorithms are mandatory for legal use of cryptography within China and [are] widely applied in the country, covering identification/financial cards, contactless, TPM 2.0 and PKI. ok beck inoguchi jsing
Diffstat (limited to 'src/lib/libcrypto/objects')
-rw-r--r--src/lib/libcrypto/objects/objects.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/libcrypto/objects/objects.txt b/src/lib/libcrypto/objects/objects.txt
index 24a6fd345b..4763d7f073 100644
--- a/src/lib/libcrypto/objects/objects.txt
+++ b/src/lib/libcrypto/objects/objects.txt
@@ -1234,6 +1234,11 @@ cryptocom 1 3 4 : id-GostR3411-94-with-GostR3410-2001-cc : GOST R 34.11-94 with
1234 1234
1235cryptocom 1 8 1 : id-GostR3410-2001-ParamSet-cc : GOST R 3410-2001 Parameter Set Cryptocom 1235cryptocom 1 8 1 : id-GostR3410-2001-ParamSet-cc : GOST R 3410-2001 Parameter Set Cryptocom
1236 1236
1237# Definitions for SM3
1238
12391 2 156 10197 1 401 : SM3 : sm3
12401 2 156 10197 1 501 : RSA-SM3 : sm3WithRSAEncryption
1241
1237# Definitions for Camellia cipher - CBC MODE 1242# Definitions for Camellia cipher - CBC MODE
1238 1243
12391 2 392 200011 61 1 1 1 2 : CAMELLIA-128-CBC : camellia-128-cbc 12441 2 392 200011 61 1 1 1 2 : CAMELLIA-128-CBC : camellia-128-cbc