Add OIDs for HMAC using Streebog (GOST R 34.11-2012) hash function.

Sponsored by ROSA Linux

Signed-off-by: Dmitry Baryshkov <dbarysh...@gmail.com>
---
 src/lib/libcrypto/objects/obj_mac.num | 2 ++
 src/lib/libcrypto/objects/objects.txt | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/src/lib/libcrypto/objects/obj_mac.num 
b/src/lib/libcrypto/objects/obj_mac.num
index 3f0b5666fb51..ba75ec246eb5 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
 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/src/lib/libcrypto/objects/objects.txt 
b/src/lib/libcrypto/objects/objects.txt
index 42f31c3cbec1..8e533530f28d 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
 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
-- 
2.25.1

Reply via email to