use directly compat module instead of Crypto.Hash.Internal

This commit is contained in:
Vincent Hanquez 2015-02-15 00:39:34 +00:00
parent effca93970
commit bbbbdc4b39
18 changed files with 20 additions and 20 deletions

View File

@ -4,6 +4,6 @@
-- Maintainer : Vincent Hanquez <vincent@snarc.org>
-- Stability : experimental
-- Portability : unknown
module Crypto.Hash.Internal (unsafeDoIO) where
import Crypto.Internal.Compat (unsafeDoIO)
module Crypto.Hash.Internal
(
) where

View File

@ -29,7 +29,7 @@ module Crypto.Hash.Kekkak
import Prelude hiding (init)
import qualified Data.ByteString.Lazy as L
import Data.ByteString (ByteString)
import Crypto.Hash.Internal (unsafeDoIO)
import Crypto.Internal.Compat (unsafeDoIO)
import Crypto.Hash.Internal.Kekkak
{-# NOINLINE init #-}

View File

@ -29,7 +29,7 @@ module Crypto.Hash.MD2
import Prelude hiding (init)
import qualified Data.ByteString.Lazy as L
import Data.ByteString (ByteString)
import Crypto.Hash.Internal (unsafeDoIO)
import Crypto.Internal.Compat (unsafeDoIO)
import Crypto.Hash.Internal.MD2
{-# RULES "hash" forall b. finalize (update init b) = hash b #-}

View File

@ -29,7 +29,7 @@ module Crypto.Hash.MD4
import Prelude hiding (init)
import qualified Data.ByteString.Lazy as L
import Data.ByteString (ByteString)
import Crypto.Hash.Internal (unsafeDoIO)
import Crypto.Internal.Compat (unsafeDoIO)
import Crypto.Hash.Internal.MD4
{-# RULES "hash" forall b. finalize (update init b) = hash b #-}

View File

@ -29,7 +29,7 @@ module Crypto.Hash.MD5
import Prelude hiding (init)
import qualified Data.ByteString.Lazy as L
import Data.ByteString (ByteString)
import Crypto.Hash.Internal (unsafeDoIO)
import Crypto.Internal.Compat (unsafeDoIO)
import Crypto.Hash.Internal.MD5
{-# RULES "hash" forall b. finalize (update init b) = hash b #-}

View File

@ -29,7 +29,7 @@ module Crypto.Hash.RIPEMD160
import Prelude hiding (init)
import qualified Data.ByteString.Lazy as L
import Data.ByteString (ByteString)
import Crypto.Hash.Internal (unsafeDoIO)
import Crypto.Internal.Compat (unsafeDoIO)
import Crypto.Hash.Internal.RIPEMD160
{-# RULES "hash" forall b. finalize (update init b) = hash b #-}

View File

@ -29,7 +29,7 @@ module Crypto.Hash.SHA1
import Prelude hiding (init)
import qualified Data.ByteString.Lazy as L
import Data.ByteString (ByteString)
import Crypto.Hash.Internal (unsafeDoIO)
import Crypto.Internal.Compat (unsafeDoIO)
import Crypto.Hash.Internal.SHA1
{-# RULES "hash" forall b. finalize (update init b) = hash b #-}

View File

@ -29,7 +29,7 @@ module Crypto.Hash.SHA224
import Prelude hiding (init)
import qualified Data.ByteString.Lazy as L
import Data.ByteString (ByteString)
import Crypto.Hash.Internal (unsafeDoIO)
import Crypto.Internal.Compat (unsafeDoIO)
import Crypto.Hash.Internal.SHA224
{-# RULES "hash" forall b. finalize (update init b) = hash b #-}

View File

@ -29,7 +29,7 @@ module Crypto.Hash.SHA256
import Prelude hiding (init)
import qualified Data.ByteString.Lazy as L
import Data.ByteString (ByteString)
import Crypto.Hash.Internal (unsafeDoIO)
import Crypto.Internal.Compat (unsafeDoIO)
import Crypto.Hash.Internal.SHA256
{-# RULES "hash" forall b. finalize (update init b) = hash b #-}

View File

@ -29,7 +29,7 @@ module Crypto.Hash.SHA3
import Prelude hiding (init)
import qualified Data.ByteString.Lazy as L
import Data.ByteString (ByteString)
import Crypto.Hash.Internal (unsafeDoIO)
import Crypto.Internal.Compat (unsafeDoIO)
import Crypto.Hash.Internal.SHA3
{-# NOINLINE init #-}

View File

@ -29,7 +29,7 @@ module Crypto.Hash.SHA384
import Prelude hiding (init)
import qualified Data.ByteString.Lazy as L
import Data.ByteString (ByteString)
import Crypto.Hash.Internal (unsafeDoIO)
import Crypto.Internal.Compat (unsafeDoIO)
import Crypto.Hash.Internal.SHA384
{-# RULES "hash" forall b. finalize (update init b) = hash b #-}

View File

@ -29,7 +29,7 @@ module Crypto.Hash.SHA512
import Prelude hiding (init)
import qualified Data.ByteString.Lazy as L
import Data.ByteString (ByteString)
import Crypto.Hash.Internal (unsafeDoIO)
import Crypto.Internal.Compat (unsafeDoIO)
import Crypto.Hash.Internal.SHA512
{-# RULES "hash" forall b. finalize (update init b) = hash b #-}

View File

@ -29,7 +29,7 @@ module Crypto.Hash.Skein256
import Prelude hiding (init)
import qualified Data.ByteString.Lazy as L
import Data.ByteString (ByteString)
import Crypto.Hash.Internal (unsafeDoIO)
import Crypto.Internal.Compat (unsafeDoIO)
import Crypto.Hash.Internal.Skein256
{-# NOINLINE init #-}

View File

@ -29,7 +29,7 @@ module Crypto.Hash.Skein512
import Prelude hiding (init)
import qualified Data.ByteString.Lazy as L
import Data.ByteString (ByteString)
import Crypto.Hash.Internal (unsafeDoIO)
import Crypto.Internal.Compat (unsafeDoIO)
import Crypto.Hash.Internal.Skein512
{-# NOINLINE init #-}

View File

@ -29,7 +29,7 @@ module Crypto.Hash.Tiger
import Prelude hiding (init)
import qualified Data.ByteString.Lazy as L
import Data.ByteString (ByteString)
import Crypto.Hash.Internal (unsafeDoIO)
import Crypto.Internal.Compat (unsafeDoIO)
import Crypto.Hash.Internal.Tiger
{-# RULES "hash" forall b. finalize (update init b) = hash b #-}

View File

@ -29,7 +29,7 @@ module Crypto.Hash.Whirlpool
import Prelude hiding (init)
import qualified Data.ByteString.Lazy as L
import Data.ByteString (ByteString)
import Crypto.Hash.Internal (unsafeDoIO)
import Crypto.Internal.Compat (unsafeDoIO)
import Crypto.Hash.Internal.Whirlpool
{-# RULES "hash" forall b. finalize (update init b) = hash b #-}

View File

@ -29,7 +29,7 @@ module Crypto.Hash.%%MODULENAME%%
import Prelude hiding (init)
import qualified Data.ByteString.Lazy as L
import Data.ByteString (ByteString)
import Crypto.Hash.Internal (unsafeDoIO)
import Crypto.Internal.Compat (unsafeDoIO)
import Crypto.Hash.Internal.%%MODULENAME%%
{-# NOINLINE init #-}

View File

@ -29,7 +29,7 @@ module Crypto.Hash.%%MODULENAME%%
import Prelude hiding (init)
import qualified Data.ByteString.Lazy as L
import Data.ByteString (ByteString)
import Crypto.Hash.Internal (unsafeDoIO)
import Crypto.Internal.Compat (unsafeDoIO)
import Crypto.Hash.Internal.%%MODULENAME%%
{-# RULES "hash" forall b. finalize (update init b) = hash b #-}