EC_POINT_dup
key->pub_key = EC_POINT_dup(pub_key, key->group);
EC_POINT *EC_POINT_dup(const EC_POINT *src, const EC_GROUP *group);