commit 3390898f75f02eaed18d5025e8cbd6eb9b5e12f9
parent c1500e6a900d2d80274fa554581bc1a1ddfe4e6e
Author: Jared Tobin <jared@jtobin.io>
Date: Fri, 14 Mar 2025 13:32:50 +0400
lib: add note re: libsecp256k1-style hash
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Crypto/Curve/Secp256k1.hs b/lib/Crypto/Curve/Secp256k1.hs
@@ -1241,7 +1241,7 @@ _verify_ecdsa_unrestricted _mul (SHA256.hash -> h) p (ECDSA r s)
-- ecdh -----------------------------------------------------------------------
--- SEC1-v2 3.3.1
+-- SEC1-v2 3.3.1, plus hash
-- | Compute a shared secret, given a secret key and public secp256k1 point,
-- via Elliptic Curve Diffie-Hellman (ECDH).