test/functional/test_framework/key.py
def lift_x(self, x):
        """Given an X coordinate on the curve, return a corresponding affine point."""
        x_3 = pow(x, 3, self.p)
        v = x_3 + self.a * x + self.b
        y = modsqrt(v, self.p)
        if y is None:
            return None
        return (x, y, 1)
Given an X coordinate on the curve, return a corresponding affine point.
Given an X coordinate on the curve, return a corresponding affine point.
Given an X coordinate on the curve return a corresponding affine point .
def lift_x(self, x):
        x_3 = pow(x, 3, self.p)
        v = x_3 + self.a * x + self.b
        y = modsqrt(v, self.p)
        if y is None:
            return None
        return (x, y, 1)
def lift_x ( self , x ) : x_3 = pow ( x , 3 , self . p ) v = x_3 + self . a * x + self . b y = modsqrt ( v , self . p ) if y is None : return None return ( x , y , 1 )
Given an X coordinate on the curve, return a corresponding affine point.
Given an X coordinate on the curve return a corresponding affine point .
"""Given an X coordinate on the curve, return a corresponding affine point."""
self
x