hmac-drbg

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

commit 9cc8a8880d491f3051d63f7e1d918a9c1ded733b
parent f73748fea69dececdbc8d715046ca3fc236b6e54
Author: Jared Tobin <jared@jtobin.io>
Date:   Fri,  4 Oct 2024 18:40:32 +0400

lib: haddocks on _read_x functions

Diffstat:
Mlib/Crypto/DRBG/HMAC.hs | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/Crypto/DRBG/HMAC.hs b/lib/Crypto/DRBG/HMAC.hs @@ -86,7 +86,7 @@ data HMACEnv = HMACEnv !HMAC {-# UNPACK #-} !Word64 --- Read the 'V' value from the DRBG state. Useful for testing. +-- | Read the 'V' value from the DRBG state. Useful for testing. _read_v :: PrimMonad m => DRBG (PrimState m) @@ -95,7 +95,7 @@ _read_v (DRBG mut) = do DRBGState _ _ v _ <- P.readMutVar mut pure v --- Read the 'Key' value from the DRBG state. Useful for testing. +-- | Read the 'Key' value from the DRBG state. Useful for testing. _read_k :: PrimMonad m => DRBG (PrimState m)