fixed

Pure Haskell large fixed-width integers.
git clone git://git.ppad.tech/fixed.git
Log | Files | Refs | README | LICENSE

commit d32ed8938f78d157bff3f70eb5f28b0bc86f447e
parent b466a1db08584029e459f77de1573a3d3d08bdad
Author: Jared Tobin <jared@jtobin.io>
Date:   Sun, 30 Nov 2025 14:08:13 +0400

lib: module headers

Diffstat:
Mlib/Data/Word/Wider.hs | 8++++++++
Mlib/Numeric/Montgomery/Secp256k1/Curve.hs | 9+++++++++
Mlib/Numeric/Montgomery/Secp256k1/Scalar.hs | 9+++++++++
3 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/lib/Data/Word/Wider.hs b/lib/Data/Word/Wider.hs @@ -6,6 +6,14 @@ {-# LANGUAGE UnboxedTuples #-} {-# LANGUAGE UnliftedNewtypes #-} +-- | +-- Module: Data.Word.Wider +-- Copyright: (c) 2025 Jared Tobin +-- License: MIT +-- Maintainer: Jared Tobin <jared@ppad.tech> +-- +-- Wider words, consisting of four 'Limb's. + module Data.Word.Wider where import Control.DeepSeq diff --git a/lib/Numeric/Montgomery/Secp256k1/Curve.hs b/lib/Numeric/Montgomery/Secp256k1/Curve.hs @@ -6,6 +6,15 @@ {-# LANGUAGE UnboxedTuples #-} {-# LANGUAGE UnliftedNewtypes #-} +-- | +-- Module: Numeric.Montgomery.Secp256k1.Curve +-- Copyright: (c) 2025 Jared Tobin +-- License: MIT +-- Maintainer: Jared Tobin <jared@ppad.tech> +-- +-- Montgomery form 'Wider' words, as well as arithmetic operations, with +-- domain derived from the secp256k1 elliptic curve field prime. + module Numeric.Montgomery.Secp256k1.Curve where import Control.DeepSeq diff --git a/lib/Numeric/Montgomery/Secp256k1/Scalar.hs b/lib/Numeric/Montgomery/Secp256k1/Scalar.hs @@ -6,6 +6,15 @@ {-# LANGUAGE UnboxedTuples #-} {-# LANGUAGE UnliftedNewtypes #-} +-- | +-- Module: Numeric.Montgomery.Secp256k1.Scalar +-- Copyright: (c) 2025 Jared Tobin +-- License: MIT +-- Maintainer: Jared Tobin <jared@ppad.tech> +-- +-- Montgomery form 'Wider' words, as well as arithmetic operations, with +-- domain derived from the secp256k1 elliptic curve scalar group order. + module Numeric.Montgomery.Secp256k1.Scalar where import Control.DeepSeq