crypto-pubkey-0.2.3: Public Key cryptography

Safe HaskellNone

Crypto.PubKey.ECC.Prim

Description

Elliptic Curve Arithmetic.

WARNING: These functions are vulnerable to timing attacks.

Synopsis

Documentation

pointAdd :: Curve -> Point -> Point -> PointSource

Elliptic Curve point addition.

WARNING: Vulnerable to timing attacks.

pointDouble :: Curve -> Point -> PointSource

Elliptic Curve point doubling.

WARNING: Vulnerable to timing attacks.

pointMul :: Curve -> Integer -> Point -> PointSource

Elliptic curve point multiplication (double and add algorithm).

WARNING: Vulnerable to timing attacks.