ECPK_PARAM_NAMED_CURVE
if (params->type == ECPK_PARAM_NAMED_CURVE) {
pkparameters->type = ECPK_PARAM_NAMED_CURVE;