Searched refs:mac_ctx (Results 1 – 1 of 1) sorted by relevance
231 EVP_PKEY_CTX *mac_ctx = NULL; in EVP_PKEY_new_mac_key() local234 mac_ctx = EVP_PKEY_CTX_new_id(type, e); in EVP_PKEY_new_mac_key()235 if (!mac_ctx) { in EVP_PKEY_new_mac_key()239 if (!EVP_PKEY_keygen_init(mac_ctx) || in EVP_PKEY_new_mac_key()240 !EVP_PKEY_CTX_ctrl(mac_ctx, -1, EVP_PKEY_OP_KEYGEN, in EVP_PKEY_new_mac_key()243 !EVP_PKEY_keygen(mac_ctx, &ret)) { in EVP_PKEY_new_mac_key()249 if (mac_ctx) { in EVP_PKEY_new_mac_key()250 EVP_PKEY_CTX_free(mac_ctx); in EVP_PKEY_new_mac_key()