From: Dmitry Belyavskiy Date: Sun, 3 Jan 2016 20:52:50 +0000 (+0300) Subject: Missed digests X-Git-Tag: v1.1.0.2~22^2~15 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=da3aaa787c2021e92e2cc5ea640998dd2b6071a1;p=openssl-gost%2Fengine.git Missed digests --- diff --git a/gost_eng.c b/gost_eng.c index 8c20827..9011d4d 100644 --- a/gost_eng.c +++ b/gost_eng.c @@ -240,6 +240,12 @@ static int gost_digests(ENGINE *e, const EVP_MD **digest, *digest = digest_gost(); } else if (nid == NID_id_Gost28147_89_MAC) { *digest = imit_gost_cpa(); + } else if (nid == NID_id_GostR3411_2012_256) { + *digest = digest_gost2012_256(); + } else if (nid == NID_id_GostR3411_2012_512) { + *digest = digest_gost2012_512(); + } else if (nid == NID_id_Gost28147_89_MAC) { + *digest = imit_gost_cp_12(); } else { ok = 0; *digest = NULL;