use more Imports

This commit is contained in:
Vincent Hanquez 2015-04-08 22:48:46 +01:00
parent 39d58bef52
commit cf47754776
2 changed files with 3 additions and 14 deletions

View File

@ -2,20 +2,13 @@
{-# LANGUAGE ExistentialQuantification #-} {-# LANGUAGE ExistentialQuantification #-}
module KAT_AFIS (tests) where module KAT_AFIS (tests) where
import Control.Applicative import Imports
import Control.Monad
import Crypto.Hash import Crypto.Hash
import Crypto.Random import Crypto.Random
import qualified Crypto.Data.AFIS as AFIS import qualified Crypto.Data.AFIS as AFIS
import Data.ByteString.Char8 ()
import qualified Data.ByteString as B import qualified Data.ByteString as B
import Test.Tasty
import Test.Tasty.QuickCheck
import Test.Tasty.HUnit
mergeVec = mergeVec =
[ (3 [ (3
, hash :: HashFunctionBS SHA1 , hash :: HashFunctionBS SHA1

View File

@ -1,14 +1,10 @@
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
module Main where module Main where
import Control.Applicative
import Data.Byteable import Data.Byteable
import Data.ByteString (ByteString)
import qualified Data.ByteString as B import qualified Data.ByteString as B
import Data.ByteString.Char8 ()
import Test.Tasty import Imports
import Test.Tasty.QuickCheck
import Test.Tasty.HUnit
import qualified Crypto.Cipher.ChaCha as ChaCha import qualified Crypto.Cipher.ChaCha as ChaCha
import qualified Crypto.Cipher.Salsa as Salsa import qualified Crypto.Cipher.Salsa as Salsa