X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_eng.c;h=33659a5a597ab5a519f80e5b64ab590984762761;hb=586ebd520657eaed361968c55c1ef3e268cf5053;hp=0cef2faf00320f1edf20cbfc7efba370f667502b;hpb=14e654cab19089027b00733594480eb03d8c6da5;p=openssl-gost%2Fengine.git diff --git a/gost_eng.c b/gost_eng.c index 0cef2fa..33659a5 100644 --- a/gost_eng.c +++ b/gost_eng.c @@ -214,10 +214,10 @@ static int bind_gost(ENGINE* e, const char* id) { "GOST 28147-89 MAC with 2012 params")) goto end; if (!register_ameth_gost(NID_magma_mac, &ameth_magma_mac, - "MAGMA-OMAC", "GOST R 34.13-2015 Magma MAC")) + "MAGMA-MAC", "GOST R 34.13-2015 Magma MAC")) goto end; if (!register_ameth_gost(NID_grasshopper_mac, &ameth_grasshopper_mac, - "GRASSHOPPER-OMAC", "GOST R 34.13-2015 Grasshopper MAC")) + "GRASSHOPPER-MAC", "GOST R 34.13-2015 Grasshopper MAC")) goto end; if (!register_pmeth_gost(NID_id_GostR3410_2001, &pmeth_GostR3410_2001, 0)) @@ -257,6 +257,8 @@ static int bind_gost(ENGINE* e, const char* id) { || !EVP_add_digest(digest_gost2012_256()) || !EVP_add_digest(imit_gost_cpa()) || !EVP_add_digest(imit_gost_cp_12()) + || !EVP_add_digest(magma_omac()) + || !EVP_add_digest(grasshopper_omac()) ) { goto end; }