]> wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
Missed digests
authorDmitry Belyavskiy <beldmit@gmail.com>
Sun, 3 Jan 2016 20:52:50 +0000 (23:52 +0300)
committerDmitry Belyavskiy <beldmit@gmail.com>
Sun, 3 Jan 2016 20:52:50 +0000 (23:52 +0300)
gost_eng.c

index 8c208271380a1fbcf271d132e38807754a241c94..9011d4dc1df5c6ba28eb551419e73c0d7becd48c 100644 (file)
@@ -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;