EC_KEY_set_private_key
int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv);
if (EC_KEY_set_private_key(key->ecdsa, exponent) != 1) {