Allow `set_tmp_ecdh` to take cryptography elliptic curves (#1327)

Deprecate `get_elliptic_curves` and `get_elliptic_curve`
3 files changed