rewrite helpers to elimiante deprecated elliptic_curve_key