secp256k1

Pure Haskell Schnorr, ECDSA on the elliptic curve secp256k1 (docs.ppad.tech/secp256k1).
git clone git://git.ppad.tech/secp256k1.git
Log | Files | Refs | README | LICENSE

commit ac4d52bd29580f69d808490d88d4f99b104164de
parent 74ca5e3e78c330755c68097f9abfdec5ab6d82f7
Author: Jared Tobin <jared@jtobin.io>
Date:   Fri,  8 Nov 2024 17:16:26 +0400

lib: fix busted haddocks

Diffstat:
Mlib/Crypto/Curve/Secp256k1.hs | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/Crypto/Curve/Secp256k1.hs b/lib/Crypto/Curve/Secp256k1.hs @@ -1126,7 +1126,7 @@ verify_ecdsa m p sig@(ECDSA _ s) -- You can expect about a 2x performance increase when using this -- function, compared to 'verify_ecdsa'. -- --- let !tex = precompute +-- >>> let !tex = precompute -- >>> verify_ecdsa' tex msg pub valid_sig -- True -- >>> verify_ecdsa' tex msg pub invalid_sig @@ -1161,7 +1161,7 @@ verify_ecdsa_unrestricted = _verify_ecdsa_unrestricted (mul_unsafe _CURVE_G) -- You can expect about a 2x performance increase when using this -- function, compared to 'verify_ecdsa_unrestricted'. -- --- let !tex = precompute +-- >>> let !tex = precompute -- >>> verify_ecdsa_unrestricted' tex msg pub valid_sig -- True -- >>> verify_ecdsa_unrestricted' tex msg pub invalid_sig