Copyright | (c) Marcel Fourné 20[09..] |
---|---|
License | BSD3 |
Maintainer | Marcel Fourné (haskell@marcelfourne.de) |
Stability | beta |
Portability | Good |
Safe Haskell | Safe |
Language | Haskell98 |
quasi-safe re-exports
Synopsis
- type FPrime = Integer
- data EC a
- data ECPF a
- affine :: EC a -> ECPF a -> (Integer, Integer)
- export :: EC a -> ECPF a -> (Integer, Integer)
- padd :: EC a -> ECPF a -> ECPF a -> ECPF a
- pdouble :: EC a -> ECPF a -> ECPF a
- pmul :: EC a -> ECPF a -> FPrime -> ECPF a
- ison :: EC a -> ECPF a -> Bool
- isinf :: EC a -> ECPF a -> Bool
Documentation
all Elliptic Curves, the parameters being the BitLength L, A, B and P
affine :: EC a -> ECPF a -> (Integer, Integer) Source #
generic getter, returning the affine x and y-value
export :: EC a -> ECPF a -> (Integer, Integer) Source #
translate point in internal format to a pair of Integers in affine x and y coordinate | this is intended as interface to other libraries