parameters: (point)
return_statement: return (y * y - x * x * x - curve.a * x - curve.b) % curve.p == 0
docstring: Returns True if the given point lies on the elliptic curve.
docstring_summary: Returns True if the given point lies on the elliptic curve.
docstring_tokens: Returns True if the given point lies on the elliptic curve .
function: def is_on_curve(point):
      """Returns True if the given point lies on the elliptic curve."""
      if point is None:
          # None represents the point at infinity.
          return True
  
      x, y = point
  
      return (y * y - x * x * x - curve.a * x - curve.b) % curve.p == 0
function_tokens: def is_on_curve ( point ) : if point is None : # None represents the point at infinity. return True x , y = point return ( y * y - x * x * x - curve . a * x - curve . b ) % curve . p == 0