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 397deab990d563b9f0fa5fe6d58a925e297c4c52
parent 0850389ef3a62e6df7d27ccb69c7778638654e36
Author: Jared Tobin <jared@jtobin.io>
Date:   Mon, 17 Mar 2025 07:22:47 +0400

lib: yet another haddock fix

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 @@ -258,9 +258,9 @@ valid p = case affine p of -- curve parameters ----------------------------------------------------------- -- see https://www.secg.org/sec2-v2.pdf for parameter specs +-- ~ 2^256 - 2^32 - 2^9 - 2^8 - 2^7 - 2^6 - 2^4 - 1 + -- | secp256k1 field prime. --- --- = 2^256 - 2^32 - 2^9 - 2^8 - 2^7 - 2^6 - 2^4 - 1 _CURVE_P :: Integer _CURVE_P = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F