Modulecardano-crypto-class-2.5.1.0
Cardano.Crypto.EllipticCurve.BLS12_381.Internal
- 23 types
- 1 class
- 87 values
- Packagecardano-crypto-class-2.5.1.0
- Exports115
- LicenceApache-2.0
Constructors
Constructors
Equations
AffineSize Curve1 =96
AffineSize Curve2 =192
class
class (KnownNat (PointSize curve), KnownNat (AffineSize curve), KnownNat (CompressedPointSize curve), KnownNat (SerializedPointSize curve)) => BLS curve whereMethods
c_blst_on_curve :: PointPtr curve -> IO Boolc_blst_add_or_double :: PointPtr curve -> PointPtr curve -> PointPtr curve -> IO ()c_blst_mult :: PointPtr curve -> PointPtr curve -> ScalarPtr -> CSize -> IO ()c_blst_cneg :: PointPtr curve -> Bool -> IO ()c_blst_scratch_sizeof :: Proxy curve -> CSize -> CSizec_blst_to_affines :: AffineBlockPtr curve -> PointArrayPtr curve -> CSize -> IO ()c_blst_mult_pippenger :: PointPtr curve -> AffineArrayPtr curve -> CSize -> ScalarArrayPtr -> CSize -> ScratchPtr -> IO ()c_blst_hash :: PointPtr curve -> Ptr CChar -> CSize -> Ptr CChar -> CSize -> Ptr CChar -> CSize -> IO ()c_blst_compress :: Ptr CChar -> PointPtr curve -> IO ()c_blst_serialize :: Ptr CChar -> PointPtr curve -> IO ()c_blst_uncompress :: AffinePtr curve -> Ptr CChar -> IO CIntc_blst_deserialize :: AffinePtr curve -> Ptr CChar -> IO CIntc_blst_in_g :: PointPtr curve -> IO Boolc_blst_to_affine :: AffinePtr curve -> PointPtr curve -> IO ()c_blst_from_affine :: PointPtr curve -> AffinePtr curve -> IO ()c_blst_affine_in_g :: AffinePtr curve -> IO Boolc_blst_generator :: PointPtr curvec_blst_p_is_equal :: PointPtr curve -> PointPtr curve -> IO Boolc_blst_p_is_inf :: PointPtr curve -> IO Boolc_blst_sk_to_pk :: PointPtr curve -> ScalarPtr -> IO ()c_blst_sign :: PointPtr (DualCurve curve) -> PointPtr (DualCurve curve) -> ScalarPtr -> IO ()c_blst_core_verify :: AffinePtr curve -> AffinePtr (DualCurve curve) -> Bool -> Ptr CChar -> CSize -> Ptr CChar -> CSize -> Ptr CChar -> CSize -> IO CInt
Instances5Bounded, Enum, Eq, Ord, Show
Bounded BLSTErrorDefined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.EllipticCurve.BLS12_381.InternalEnum BLSTErrorDefined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.EllipticCurve.BLS12_381.InternalEq BLSTErrorDefined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.EllipticCurve.BLS12_381.InternalOrd BLSTErrorDefined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.EllipticCurve.BLS12_381.InternalShow BLSTErrorDefined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.EllipticCurve.BLS12_381.Internal
Equations
Constructors
Fr (PinnedSizedBytes32
)
Constructors
Point (PinnedSizedBytes (PointSize curve))
Instances4Eq, Show, NFData, NoThunks
BLS curve => Eq (Point curve)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.EllipticCurve.BLS12_381.InternalShow (Point curve)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.EllipticCurve.BLS12_381.InternalNFData (Point curve)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.EllipticCurve.BLS12_381.InternalNoThunks (Point curve)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.EllipticCurve.BLS12_381.Internal
Constructors
Constructors
Scalar (PinnedSizedBytes32
)
Instances4Eq, Show, NFData, NoThunks
Eq ScalarDefined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.EllipticCurve.BLS12_381.InternalShow ScalarDefined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.EllipticCurve.BLS12_381.InternalNFData ScalarDefined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.EllipticCurve.BLS12_381.InternalNoThunks ScalarDefined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.EllipticCurve.BLS12_381.Internal