Edit: curve_keygen