code: def get_curve_name_by_oid(oid):
      
      for curve_name, info in SUPPORTED_CURVES.items():
          if info['oid'] == oid:
              return curve_name
      raise KeyError('Unknown OID: {!r}'.format(oid))
docs: Return curve name matching specified OID, or raise KeyError.