crypto-pubkey-0.2.4: Public Key cryptography
Crypto.PubKey.ECC.Prim
Description
Elliptic Curve Arithmetic.
WARNING: These functions are vulnerable to timing attacks.
Synopsis
pointAdd :: Curve -> Point -> Point -> PointSource
Elliptic Curve point addition.
WARNING: Vulnerable to timing attacks.
pointDouble :: Curve -> Point -> PointSource
Elliptic Curve point doubling.
pointMul :: Curve -> Integer -> Point -> PointSource
Elliptic curve point multiplication (double and add algorithm).