libsecp256k1 0.2.0 → 0.2.1
raw patch · 2 files changed
+5/−5 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- libsecp256k1.cabal +1/−1
- src/Crypto/Secp256k1/Prim.hs +4/−4
libsecp256k1.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: libsecp256k1-version: 0.2.0+version: 0.2.1 synopsis: Bindings for secp256k1 description: Sign and verify signatures using the secp256k1 library. category: Crypto
src/Crypto/Secp256k1/Prim.hs view
@@ -1117,7 +1117,7 @@ -- 'taggedSha256' and then sign the hash. Tagged hashing allows -- providing an context-specific tag for domain separation. This prevents -- signatures from being valid in multiple contexts by accident.-foreign import capi safe "secp256k1_schnorrsig.h secp256k1_schnorrsig_sign"+foreign import capi safe "secp256k1_schnorrsig.h secp256k1_schnorrsig_sign32" schnorrsigSign :: -- | pointer to a context object, initialized for signing (cannot be NULL) Ctx ->@@ -1364,7 +1364,7 @@ -- * Deprecated {-# DEPRECATED ecPrivkeyNegate "use ecSeckeyNegate instead" #-}-foreign import capi safe "secp256k1.h secp256k1_ec_privkey_negate"+foreign import capi safe "secp256k1.h secp256k1_ec_seckey_negate" ecPrivkeyNegate :: Ctx -> Ptr Tweak32 ->@@ -1372,7 +1372,7 @@ {-# DEPRECATED ecPrivkeyTweakAdd "use ecSeckeyTweakAdd instead" #-}-foreign import capi safe "secp256k1.h secp256k1_ec_privkey_tweak_add"+foreign import capi safe "secp256k1.h secp256k1_ec_seckey_tweak_add" ecPrivkeyTweakAdd :: Ctx -> Ptr Seckey32 ->@@ -1381,7 +1381,7 @@ {-# DEPRECATED ecPrivkeyTweakMul "use ecSeckeyTweakMul instead" #-}-foreign import capi safe "secp256k1.h secp256k1_ec_privkey_tweak_mul"+foreign import capi safe "secp256k1.h secp256k1_ec_seckey_tweak_mul" ecPrivkeyTweakMul :: Ctx -> Ptr Seckey32 ->