Merged splitting off curves from ecp.c into ecp_curves.c