Example #1
0
 def coordinates(self, point):
     if type(point) == elliptic_curve:
         return getXY(self.group, point, True)
Example #2
0
 def coordinates(self, point):
     """get the X and Y coordinates of an EC point"""
     if type(point) == ec_element:
         return getXY(self.ec_group, point, True)
Example #3
0
 def zr(self, point):
     if type(point) == elliptic_curve:
         return getXY(self.group, point, False)
     return None
Example #4
0
 def zr(self, point):
     """get the X coordinate only"""
     if type(point) == ec_element:
         return getXY(self.ec_group, point, False)
     return None
Example #5
0
 def coordinates(self, point):
     """get the X and Y coordinates of an EC point"""
     if type(point) == ec_element:
         return getXY(self.ec_group, point, True)
Example #6
0
 def zr(self, point):
     """get the X coordinate only"""
     if type(point) == ec_element:
         return getXY(self.ec_group, point, False)
     return None
Example #7
0
 def coordinates(self, point):
     if type(point) == elliptic_curve:
         return getXY(self.group, point, True)
Example #8
0
 def zr(self, point):
     if type(point) == elliptic_curve:
         return getXY(self.group, point, False)
     return None