(self, s)
return self.tec_arithmetic.is_in_group(s) and type(t) is TwistedEdwardsCurveElement, t
Check if s is in the TEC group and t is valid
        :param s: TwistedEdwardsCurveElement
        :return:
Check if s is in the TEC group and t is valid
        :param s: TwistedEdwardsCurveElement
        :return:
Check if s is in the TEC group and t is valid : param s : TwistedEdwardsCurveElement : return :
def _check_s_t_legal(self, s):
        """
        Check if s is in the TEC group and t is valid
        :param s: TwistedEdwardsCurveElement
        :return:
        """
        t = self._hash_tec_element(s)
        return self.tec_arithmetic.is_in_group(s) and type(t) is TwistedEdwardsCurveElement, t
def _check_s_t_legal ( self , s ) : t = self . _hash_tec_element ( s ) return self . tec_arithmetic . is_in_group ( s ) and type ( t ) is TwistedEdwardsCurveElement , t