Safe Haskell | None |
---|---|
Language | Haskell2010 |
Jacobian representation of points on an elliptic curve.
In Jacobian coordinates the triple (x, y, z)
represents the affine point
(X Z^2, Y Z^3)
. Curve operations are more optimal in Jacobian
coordinates when the time complexity for underlying field inversions is
significantly higher than field multiplications.
Synopsis
- type JPoint k = (k, k, k)
- toJacobian :: GaloisField k => Point k -> JPoint k
- fromJacobian :: GaloisField k => JPoint k -> Point k
Documentation
type JPoint k = (k, k, k) Source #
Jacobian coordinates for points on an elliptic curve over a field k
.
toJacobian :: GaloisField k => Point k -> JPoint k Source #
Convert affine coordinates to Jacobian coordinates
fromJacobian :: GaloisField k => JPoint k -> Point k Source #
Convert Jacobian coordinates to affine coordinates