ecc: Add key generation support to mpi_ec_get_elliptic_curve.
* cipher/ecc-curves.c (mpi_ec_get_elliptic_curve): Handle params for key generation. (_gcry_mpi_ec_internal_new): Remove duplication for handling of flags.
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>