def get_elliptic_curve(name):
 for curve in get_elliptic_curves():
  if (curve.name == name):
   return curve
 raise ValueError('unknown curve name', name)

def get_elliptic_curve ( name ) : for curve in get_elliptic_curves ( ) : if ( curve . name == name ) : return curve raise ValueError ( 'unknown curve name' , name )
return a single curve object selected by name .