diff options
author | tb <> | 2018-11-11 06:53:31 +0000 |
---|---|---|
committer | tb <> | 2018-11-11 06:53:31 +0000 |
commit | 1d52a77751bd718c4bc8afa60ff78c4306636cd9 (patch) | |
tree | c825763485b682e2b4d62f2c543f52d67260398e /src/lib/libcrypto/objects | |
parent | 02538eda2e860ce41169bbc6f0d2519d31eda733 (diff) | |
download | openbsd-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.txt | 5 |
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 | ||
1235 | cryptocom 1 8 1 : id-GostR3410-2001-ParamSet-cc : GOST R 3410-2001 Parameter Set Cryptocom | 1235 | cryptocom 1 8 1 : id-GostR3410-2001-ParamSet-cc : GOST R 3410-2001 Parameter Set Cryptocom |
1236 | 1236 | ||
1237 | # Definitions for SM3 | ||
1238 | |||
1239 | 1 2 156 10197 1 401 : SM3 : sm3 | ||
1240 | 1 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 | ||
1239 | 1 2 392 200011 61 1 1 1 2 : CAMELLIA-128-CBC : camellia-128-cbc | 1244 | 1 2 392 200011 61 1 1 1 2 : CAMELLIA-128-CBC : camellia-128-cbc |