TKK_E32232028/.venv/lib/python3.10/site-packages/lightecc/commons/errors.py

7 lines
182 B
Python

class InvalidCurveOrder(ValueError):
"""Raised when the order of the curve is invalid."""
class PointNotOnCurve(ValueError):
"""Raised when a point is not on the curve."""