hmac-drbg

Pure Haskell HMAC-DRBG (https://docs.ppad.tech/hmac-drbg)
git clone git://git.ppad.tech/hmac-drbg.git
Log | Files | Refs | README | LICENSE

commit 72c8dd37d41273f4b54ca8be374adc62aff11b2b
parent b3f64cd74bf39b9969106b72b601ee0bd7fffc6e
Author: Jared Tobin <jared@jtobin.io>
Date:   Fri,  4 Oct 2024 20:30:51 +0400

lib: typo

Diffstat:
Mlib/Crypto/DRBG/HMAC.hs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Crypto/DRBG/HMAC.hs b/lib/Crypto/DRBG/HMAC.hs @@ -226,7 +226,7 @@ gen_pure -> DRBGState -> Pair BS.ByteString DRBGState gen_pure addl bytes drbg0@(DRBGState h@(HMACEnv hmac outlen) _ _ _) - | r > _RESEED_COUNTER = error "ppad-sha256: reseed required" + | r > _RESEED_COUNTER = error "ppad-hmac-drbg: reseed required" | otherwise = let !(Pair temp drbg1) = loop mempty 0 v1 returned_bits = BS.take (fi bytes) temp