Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data SECP256k1Context Source #
secpContextCreate :: CUInt -> IO ( Ptr SECP256k1Context ) Source #
secpKeyPairCreate :: Ptr SECP256k1Context -> SizedPtr SECP256K1_SCHNORR_KEYPAIR_BYTES -> SizedPtr SECP256K1_SCHNORR_PRIVKEY_BYTES -> IO CInt Source #
secpSchnorrSigSignCustom :: Ptr SECP256k1Context -> SizedPtr SECP256K1_SCHNORR_SIGNATURE_BYTES -> Ptr CUChar -> CSize -> SizedPtr SECP256K1_SCHNORR_KEYPAIR_BYTES -> Ptr SECP256k1SchnorrExtraParams -> IO CInt Source #
secpKeyPairXOnlyPub :: Ptr SECP256k1Context -> SizedPtr SECP256K1_SCHNORR_PUBKEY_BYTES_INTERNAL -> Ptr CInt -> SizedPtr SECP256K1_SCHNORR_KEYPAIR_BYTES -> IO CInt Source #
secpSchnorrSigVerify :: Ptr SECP256k1Context -> SizedPtr SECP256K1_SCHNORR_SIGNATURE_BYTES -> Ptr CUChar -> CSize -> SizedPtr SECP256K1_SCHNORR_PUBKEY_BYTES_INTERNAL -> CInt Source #
secpXOnlyPubkeySerialize :: Ptr SECP256k1Context -> SizedPtr SECP256K1_SCHNORR_PUBKEY_BYTES -> SizedPtr SECP256K1_SCHNORR_PUBKEY_BYTES_INTERNAL -> IO CInt Source #
secpXOnlyPubkeyParse :: Ptr SECP256k1Context -> SizedPtr SECP256K1_SCHNORR_PUBKEY_BYTES_INTERNAL -> Ptr CUChar -> IO CInt Source #
secpEcPubkeyCreate :: Ptr SECP256k1Context -> SizedPtr SECP256K1_ECDSA_PUBKEY_BYTES_INTERNAL -> SizedPtr SECP256K1_ECDSA_PRIVKEY_BYTES -> IO CInt Source #
secpEcdsaSign :: Ptr SECP256k1Context -> SizedPtr SECP256K1_ECDSA_SIGNATURE_BYTES_INTERNAL -> SizedPtr SECP256K1_ECDSA_MESSAGE_BYTES -> SizedPtr SECP256K1_ECDSA_PRIVKEY_BYTES -> Ptr CUChar -> Ptr CUChar -> IO CInt Source #
secpEcdsaVerify :: Ptr SECP256k1Context -> SizedPtr SECP256K1_ECDSA_SIGNATURE_BYTES_INTERNAL -> SizedPtr SECP256K1_ECDSA_MESSAGE_BYTES -> SizedPtr SECP256K1_ECDSA_PUBKEY_BYTES_INTERNAL -> CInt Source #
secpEcPubkeySerialize :: Ptr SECP256k1Context -> Ptr CUChar -> Ptr CSize -> SizedPtr SECP256K1_ECDSA_PUBKEY_BYTES_INTERNAL -> CUInt -> IO CInt Source #
secpEcdsaSignatureSerializeCompact :: Ptr SECP256k1Context -> SizedPtr SECP256K1_ECDSA_SIGNATURE_BYTES -> SizedPtr SECP256K1_ECDSA_SIGNATURE_BYTES_INTERNAL -> IO CInt Source #