git.iko.soy/typeable/entropy
on main help sign in
Fix typo: hardward -> hardware
6b20765Lance Roy
System/EntropyGhcjs.hs+1−1
@@ -26,7 +26,7 @@ import Language.Javascript.JSaddle.Object as JS
26-- |Handle for manual resource management
26-- |Handle for manual resource management
27newtype CryptHandle = CH Crypto
27newtype CryptHandle = CH Crypto
28
28
29−-- | Get random values from the hardward RNG or return Nothing if no
29+-- | Get random values from the hardware RNG or return Nothing if no
30-- supported hardware RNG is available.
30-- supported hardware RNG is available.
31--
31--
32-- Not supported on ghcjs.
32-- Not supported on ghcjs.
System/EntropyNix.hs+1−1
@@ -46,7 +46,7 @@ data CryptHandle
46 | UseGetRandom
46 | UseGetRandom
47#endif
47#endif
48
48
49−-- | Get random values from the hardward RNG or return Nothing if no
49+-- | Get random values from the hardware RNG or return Nothing if no
50-- supported hardware RNG is available.
50-- supported hardware RNG is available.
51--
51--
52-- Supported hardware:
52-- Supported hardware:
System/EntropyWindows.hs+1−1
@@ -69,7 +69,7 @@ data CryptHandle
69 = CH HCRYPTPROV
69 = CH HCRYPTPROV
70
70
71
71
72−-- | Get random values from the hardward RNG or return Nothing if no
72+-- | Get random values from the hardware RNG or return Nothing if no
73-- supported hardware RNG is available.
73-- supported hardware RNG is available.
74--
74--
75-- Supported hardware:
75-- Supported hardware:
System/EntropyXen.hs+2−2
@@ -13,7 +13,7 @@ module System.EntropyXen
13 , openHandle
13 , openHandle
14 , hGetEntropy
14 , hGetEntropy
15 , closeHandle
15 , closeHandle
16− , hardwardRNG
16+ , hardwareRandom
17 ) where
17 ) where
18
18
19import Control.Monad (liftM, when)
19import Control.Monad (liftM, when)
@@ -49,7 +49,7 @@ openHandle = do
49closeHandle :: CryptHandle -> IO ()
49closeHandle :: CryptHandle -> IO ()
50closeHandle UseRdRand = return ()
50closeHandle UseRdRand = return ()
51
51
52−-- | Get random values from the hardward RNG or return Nothing if no
52+-- | Get random values from the hardware RNG or return Nothing if no
53-- supported hardware RNG is available.
53-- supported hardware RNG is available.
54--
54--
55-- Supported hardware:
55-- Supported hardware: