Elliptic curves with ECDSA capabilities.
Methods
scalarIsValid :: proxy curve -> Scalar curve -> BoolIs a scalar in the accepted range for ECDSA
scalarIsZero :: proxy curve -> Scalar curve -> BoolTest whether the scalar is zero
scalarInv :: proxy curve -> Scalar curve -> Maybe (Scalar curve)Scalar inversion modulo the curve order
pointX :: proxy curve -> Point curve -> Maybe (Scalar curve)Return the point X coordinate as a scalar
Instances3EllipticCurveECDSA
EllipticCurveECDSA Curve_P256R1Defined in crypton-1.0.4 · Crypto.PubKey.ECDSAEllipticCurveECDSA Curve_P384R1Defined in crypton-1.0.4 · Crypto.PubKey.ECDSAEllipticCurveECDSA Curve_P521R1Defined in crypton-1.0.4 · Crypto.PubKey.ECDSA