X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_omac.c;h=c4e81113d348039f687ec6829ff7a7c3e84bfad1;hb=d44131cf7cae81da5bafb9cb1129b026b8cb0797;hp=fa7ab746ba5119a485003521324f17803f47ab33;hpb=20e590a4f0dc7a563b78e798c0a352b835d50bfa;p=openssl-gost%2Fengine.git diff --git a/gost_omac.c b/gost_omac.c index fa7ab74..c4e8111 100644 --- a/gost_omac.c +++ b/gost_omac.c @@ -252,7 +252,7 @@ EVP_MD *grasshopper_omac(void) EVP_MD *md; if ((md = EVP_MD_meth_new(NID_grasshopper_mac, NID_undef)) == NULL - || !EVP_MD_meth_set_result_size(md, 4) + || !EVP_MD_meth_set_result_size(md, 8) || !EVP_MD_meth_set_input_blocksize(md, 8) || !EVP_MD_meth_set_app_datasize(md, sizeof(OMAC_CTX)) || !EVP_MD_meth_set_flags(md, 0)