def get(key, default=-1):
        """Backport support for original codes."""
        if isinstance(key, int):
            return ECDSA_Curve(key)
        if key not in ECDSA_Curve._member_map_:
            extend_enum(ECDSA_Curve, key, default)
        return ECDSA_Curve[key]
Backport support for original codes.