stud: introduce ec-curve option