Crypto.Secp256k1.Internal.BaseOps
ecPubKeyParse Source #
Arguments
encoded public key array
size of encoded public key array
ecPubKeySerialize Source #
array for encoded public key, must be large enough
size of encoded public key, will be updated
ecdsaSignatureParseCompact :: Ptr LCtx -> Ptr Sig64 -> Ptr Compact64 -> IO Ret Source #
ecdsaSignatureParseDer Source #
encoded DER signature
size of encoded signature
ecdsaSignatureSerializeDer Source #
array for encoded signature, must be large enough
size of encoded signature, will be updated
ecdsaSignatureSerializeCompact :: Ptr LCtx -> Ptr Compact64 -> Ptr Sig64 -> IO Ret Source #
ecdsaVerify :: Ptr LCtx -> Ptr Sig64 -> Ptr Msg32 -> Ptr PubKey64 -> IO Ret Source #
ecdsaSignatureNormalize Source #
output
input
ecdsaSign Source #
nonce data
ecSecKeyVerify :: Ptr LCtx -> Ptr SecKey32 -> IO Ret Source #
ecPubKeyCreate :: Ptr LCtx -> Ptr PubKey64 -> Ptr SecKey32 -> IO Ret Source #
ecSecKeyTweakAdd :: Ptr LCtx -> Ptr SecKey32 -> Ptr Tweak32 -> IO Ret Source #
ecTweakNegate :: Ptr LCtx -> Ptr Tweak32 -> IO Ret Source #
ecPubKeyTweakAdd :: Ptr LCtx -> Ptr PubKey64 -> Ptr Tweak32 -> IO Ret Source #
ecSecKeyTweakMul :: Ptr LCtx -> Ptr SecKey32 -> Ptr Tweak32 -> IO Ret Source #
ecPubKeyTweakMul :: Ptr LCtx -> Ptr PubKey64 -> Ptr Tweak32 -> IO Ret Source #
ecPubKeyCombine Source #
pointer to public key storage
pointer to array of public keys
number of public keys