hmac-drbg

Pure Haskell HMAC-DRBG CSPRNG per NIST-SP 800-90A.
git clone git://git.ppad.tech/hmac-drbg.git
Log | Files | Refs | LICENSE

commit f521d94b1ea8bf737fd9f2b11c75c4169ac6e7ac
parent d63ae899fe36f64586ea7d35884558a99653736b
Author: Jared Tobin <jared@jtobin.io>
Date:   Mon, 30 Sep 2024 16:22:38 +0400

lib: add primitive dep

Diffstat:
Mlib/Crypto/DRBG/HMAC.hs | 3---
Mppad-hmac-drbg.cabal | 1+
2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/lib/Crypto/DRBG/HMAC.hs b/lib/Crypto/DRBG/HMAC.hs @@ -120,6 +120,3 @@ gen addl bytes drbg0@(DRBG h@(HMAC hmac outlen) _ _) = let facc = toStrict acc in Pair facc (DRBG h vl k1) --- XX maybe want some sort of primitive convenience here - - diff --git a/ppad-hmac-drbg.cabal b/ppad-hmac-drbg.cabal @@ -28,6 +28,7 @@ library build-depends: base >= 4.9 && < 5 , bytestring >= 0.9 && < 0.13 + , primitive test-suite hmac-drbg-tests type: exitcode-stdio-1.0