"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))
case EVP_PKEY_CTRL_MD:
{
int nid = EVP_MD_type((const EVP_MD *)p2);
- if (nid != NID_id_Gost28147_89_MAC && nid != NID_gost_mac_12
- && nid != NID_magma_mac && nid != NID_grasshopper_mac) {
+ if (nid != NID_id_Gost28147_89_MAC && nid != NID_gost_mac_12) {
GOSTerr(GOST_F_PKEY_GOST_MAC_CTRL,
GOST_R_INVALID_DIGEST_TYPE);
return 0;