Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- module Data.Curve
- class (GaloisField q, PrimeField r, Curve Binary c e q r) => BCurve c e q r where
- type BPoint = Point Binary
- class BCurve Affine e q r => BACurve e q r where
- type BAPoint = BPoint Affine
- class BCurve Projective e q r => BPCurve e q r where
- type BPPoint = BPoint Projective
Documentation
module Data.Curve
Binary curves
class (GaloisField q, PrimeField r, Curve Binary c e q r) => BCurve c e q r where Source #
Binary curves.
Instances
Binary affine curves
class BCurve Affine e q r => BACurve e q r where Source #
Binary affine curves y^2 + xy = x^3 + Ax^2 + B
.
Instances
Binary projective curves
class BCurve Projective e q r => BPCurve e q r where Source #
Binary projective curves y^2z + xyz = x^3 + Ax^2z + Bz
.
Instances
type BPPoint = BPoint Projective Source #
Binary projective points.