summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2020-06-05 17:28:56 +0000
committerjsing <jsing@openbsd.org>2020-06-05 17:28:56 +0000
commit76029c8dd2702eb338297ae4d951500ec829924c (patch)
tree0c6b902735491efa8f87014fd63952345532afee /lib
parentAdd a few more errors to help debugging. (diff)
downloadwireguard-openbsd-76029c8dd2702eb338297ae4d951500ec829924c.tar.xz
wireguard-openbsd-76029c8dd2702eb338297ae4d951500ec829924c.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 'lib')
-rw-r--r--lib/libcrypto/objects/obj_mac.num2
-rw-r--r--lib/libcrypto/objects/objects.txt2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/libcrypto/objects/obj_mac.num b/lib/libcrypto/objects/obj_mac.num
index 3f0b5666fb5..ba75ec246eb 100644
--- a/lib/libcrypto/objects/obj_mac.num
+++ b/lib/libcrypto/objects/obj_mac.num
@@ -996,3 +996,5 @@ id_tc26_gost_3410_12_256_paramSetC 995
id_tc26_gost_3410_12_256_paramSetD 996
id_tc26_gost_3410_12_512_paramSetTest 997
id_tc26_gost_3410_12_512_paramSetC 998
+id_tc26_hmac_gost_3411_12_256 999
+id_tc26_hmac_gost_3411_12_512 1000
diff --git a/lib/libcrypto/objects/objects.txt b/lib/libcrypto/objects/objects.txt
index 42f31c3cbec..8e533530f28 100644
--- a/lib/libcrypto/objects/objects.txt
+++ b/lib/libcrypto/objects/objects.txt
@@ -1372,6 +1372,8 @@ member-body 643 7 1 : tc26
tc26 1 2 2 : streebog256 : GOST R 34.11-2012 (256 bit)
!Cname id-tc26-gost3411-2012-512
tc26 1 2 3 : streebog512 : GOST R 34-11-2012 (512 bit)
+tc26 1 4 1 : id-tc26-hmac-gost-3411-12-256 : HMAC STREEBOG 256
+tc26 1 4 2 : id-tc26-hmac-gost-3411-12-512 : HMAC STREEBOG 512
tc26 2 1 1 1 : id-tc26-gost-3410-12-256-paramSetA : GOST R 34.10-2012 (256 bit) ParamSet A
tc26 2 1 1 2 : id-tc26-gost-3410-12-256-paramSetB : GOST R 34.10-2012 (256 bit) ParamSet B
tc26 2 1 1 3 : id-tc26-gost-3410-12-256-paramSetC : GOST R 34.10-2012 (256 bit) ParamSet C