summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjsing <>2020-06-05 17:28:56 +0000
committerjsing <>2020-06-05 17:28:56 +0000
commitff56a7a0ea122ca7f175aefb8595735ce516a294 (patch)
treed135d1bf1892cfa27193be0ed7a85579fc65b707 /src
parentfc68871937ae2da84df8afcbc02e35636622e17b (diff)
downloadopenbsd-ff56a7a0ea122ca7f175aefb8595735ce516a294.tar.gz
openbsd-ff56a7a0ea122ca7f175aefb8595735ce516a294.tar.bz2
openbsd-ff56a7a0ea122ca7f175aefb8595735ce516a294.zip
Add OIDs for HMAC using Streebog (GOST R 34.11-2012) hash function.
Diff from Dmitry Baryshkov <dbaryshkov@gmail.com> Sponsored by ROSA Linux ok inoguchi@ tb@
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/objects/obj_mac.num2
-rw-r--r--src/lib/libcrypto/objects/objects.txt2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/libcrypto/objects/obj_mac.num b/src/lib/libcrypto/objects/obj_mac.num
index 3f0b5666fb..ba75ec246e 100644
--- a/src/lib/libcrypto/objects/obj_mac.num
+++ b/src/lib/libcrypto/objects/obj_mac.num
@@ -996,3 +996,5 @@ id_tc26_gost_3410_12_256_paramSetC 995
996id_tc26_gost_3410_12_256_paramSetD 996 996id_tc26_gost_3410_12_256_paramSetD 996
997id_tc26_gost_3410_12_512_paramSetTest 997 997id_tc26_gost_3410_12_512_paramSetTest 997
998id_tc26_gost_3410_12_512_paramSetC 998 998id_tc26_gost_3410_12_512_paramSetC 998
999id_tc26_hmac_gost_3411_12_256 999
1000id_tc26_hmac_gost_3411_12_512 1000
diff --git a/src/lib/libcrypto/objects/objects.txt b/src/lib/libcrypto/objects/objects.txt
index 42f31c3cbe..8e533530f2 100644
--- a/src/lib/libcrypto/objects/objects.txt
+++ b/src/lib/libcrypto/objects/objects.txt
@@ -1372,6 +1372,8 @@ member-body 643 7 1 : tc26
1372tc26 1 2 2 : streebog256 : GOST R 34.11-2012 (256 bit) 1372tc26 1 2 2 : streebog256 : GOST R 34.11-2012 (256 bit)
1373!Cname id-tc26-gost3411-2012-512 1373!Cname id-tc26-gost3411-2012-512
1374tc26 1 2 3 : streebog512 : GOST R 34-11-2012 (512 bit) 1374tc26 1 2 3 : streebog512 : GOST R 34-11-2012 (512 bit)
1375tc26 1 4 1 : id-tc26-hmac-gost-3411-12-256 : HMAC STREEBOG 256
1376tc26 1 4 2 : id-tc26-hmac-gost-3411-12-512 : HMAC STREEBOG 512
1375tc26 2 1 1 1 : id-tc26-gost-3410-12-256-paramSetA : GOST R 34.10-2012 (256 bit) ParamSet A 1377tc26 2 1 1 1 : id-tc26-gost-3410-12-256-paramSetA : GOST R 34.10-2012 (256 bit) ParamSet A
1376tc26 2 1 1 2 : id-tc26-gost-3410-12-256-paramSetB : GOST R 34.10-2012 (256 bit) ParamSet B 1378tc26 2 1 1 2 : id-tc26-gost-3410-12-256-paramSetB : GOST R 34.10-2012 (256 bit) ParamSet B
1377tc26 2 1 1 3 : id-tc26-gost-3410-12-256-paramSetC : GOST R 34.10-2012 (256 bit) ParamSet C 1379tc26 2 1 1 3 : id-tc26-gost-3410-12-256-paramSetC : GOST R 34.10-2012 (256 bit) ParamSet C