Safe Haskell | None |
---|---|
Language | Haskell98 |
Elliptic Curve Arithmetic.
WARNING: These functions are vulnerable to timing attacks.
Documentation
pointAdd :: Curve -> Point -> Point -> Point Source
Elliptic Curve point addition.
WARNING: Vulnerable to timing attacks.
pointDouble :: Curve -> Point -> Point Source
Elliptic Curve point doubling.
WARNING: Vulnerable to timing attacks.
pointMul :: Curve -> Integer -> Point -> Point Source
Elliptic curve point multiplication (double and add algorithm).
WARNING: Vulnerable to timing attacks.
isPointAtInfinity :: Point -> Bool Source
Check if a point is the point at infinity.