use a more standard curve for most of the tests (FIPS mode openssl barfs on secp256k1).
allow curves params to come from private key (where openssl DER-encodes them).