EVP_PKEY_meth_remove
OSSL_DEPRECATEDIN_3_0 int EVP_PKEY_meth_remove(const EVP_PKEY_METHOD *pmeth);
EVP_PKEY_meth_remove(custom_pmeth);