Process curve name when loading EC keys. Fixes #1336

Not super happy with `CURVE_TYPES` so if anyone has a better suggestion speak up.
I think we can actually remove the curve entirely from init. It's already in the ec_data and just makes the API more complex I think?