diff options
author | Dmitry Belyavskiy <beldmit@gmail.com> | 2016-01-03 23:52:50 +0300 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@gmail.com> | 2016-01-03 23:52:50 +0300 |
commit | da3aaa787c2021e92e2cc5ea640998dd2b6071a1 (patch) | |
tree | 1dfb013041f248efb463ec7663c4bc21b64f4c67 /gost_eng.c | |
parent | 210ad772b67ec4fc0104643c771251b637b4d1cc (diff) | |
download | gost-engine-da3aaa787c2021e92e2cc5ea640998dd2b6071a1.zip gost-engine-da3aaa787c2021e92e2cc5ea640998dd2b6071a1.tar.gz gost-engine-da3aaa787c2021e92e2cc5ea640998dd2b6071a1.tar.bz2 |
Missed digests
Diffstat (limited to 'gost_eng.c')
-rw-r--r-- | gost_eng.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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; |