From 3308ec0d924e6362ba46b839c725fff7fa09a332 Mon Sep 17 00:00:00 2001 From: Vincent Hanquez Date: Sun, 5 Apr 2015 07:47:16 +0100 Subject: [PATCH] cleanup extensions in modules --- Crypto/Hash/Internal/Kekkak.hs | 3 +-- Crypto/Hash/Internal/MD2.hs | 3 +-- Crypto/Hash/Internal/MD4.hs | 3 +-- Crypto/Hash/Internal/MD5.hs | 3 +-- Crypto/Hash/Internal/RIPEMD160.hs | 3 +-- Crypto/Hash/Internal/SHA1.hs | 3 +-- Crypto/Hash/Internal/SHA224.hs | 3 +-- Crypto/Hash/Internal/SHA256.hs | 3 +-- Crypto/Hash/Internal/SHA3.hs | 3 +-- Crypto/Hash/Internal/SHA384.hs | 3 +-- Crypto/Hash/Internal/SHA512.hs | 3 +-- Crypto/Hash/Internal/Skein256.hs | 3 +-- Crypto/Hash/Internal/Skein512.hs | 3 +-- Crypto/Hash/Internal/Tiger.hs | 3 +-- Crypto/Hash/Internal/Whirlpool.hs | 3 +-- Crypto/Hash/Kekkak.hs | 2 -- Crypto/Hash/MD2.hs | 2 -- Crypto/Hash/MD4.hs | 2 -- Crypto/Hash/MD5.hs | 2 -- Crypto/Hash/RIPEMD160.hs | 2 -- Crypto/Hash/SHA1.hs | 2 -- Crypto/Hash/SHA224.hs | 2 -- Crypto/Hash/SHA256.hs | 2 -- Crypto/Hash/SHA3.hs | 2 -- Crypto/Hash/SHA384.hs | 2 -- Crypto/Hash/SHA512.hs | 2 -- Crypto/Hash/Skein256.hs | 2 -- Crypto/Hash/Skein512.hs | 2 -- Crypto/Hash/Tiger.hs | 2 -- Crypto/Hash/Whirlpool.hs | 2 -- 30 files changed, 15 insertions(+), 60 deletions(-) diff --git a/Crypto/Hash/Internal/Kekkak.hs b/Crypto/Hash/Internal/Kekkak.hs index 8048c06..e258695 100644 --- a/Crypto/Hash/Internal/Kekkak.hs +++ b/Crypto/Hash/Internal/Kekkak.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface, CPP, MultiParamTypeClasses #-} - -- | -- Module : Crypto.Hash.Internal.Kekkak -- License : BSD-style @@ -9,6 +7,7 @@ -- -- A module containing Kekkak bindings -- +{-# LANGUAGE ForeignFunctionInterface #-} module Crypto.Hash.Internal.Kekkak ( Ctx(..) -- * Internal values diff --git a/Crypto/Hash/Internal/MD2.hs b/Crypto/Hash/Internal/MD2.hs index 8f5dabd..da83c50 100644 --- a/Crypto/Hash/Internal/MD2.hs +++ b/Crypto/Hash/Internal/MD2.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface, CPP, MultiParamTypeClasses #-} - -- | -- Module : Crypto.Hash.Internal.MD2 -- License : BSD-style @@ -9,6 +7,7 @@ -- -- A module containing MD2 bindings -- +{-# LANGUAGE ForeignFunctionInterface #-} module Crypto.Hash.Internal.MD2 ( Ctx(..) -- * Internal values diff --git a/Crypto/Hash/Internal/MD4.hs b/Crypto/Hash/Internal/MD4.hs index 021322a..864a450 100644 --- a/Crypto/Hash/Internal/MD4.hs +++ b/Crypto/Hash/Internal/MD4.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface, CPP, MultiParamTypeClasses #-} - -- | -- Module : Crypto.Hash.Internal.MD4 -- License : BSD-style @@ -9,6 +7,7 @@ -- -- A module containing MD4 bindings -- +{-# LANGUAGE ForeignFunctionInterface #-} module Crypto.Hash.Internal.MD4 ( Ctx(..) -- * Internal values diff --git a/Crypto/Hash/Internal/MD5.hs b/Crypto/Hash/Internal/MD5.hs index 6b9024d..37abf08 100644 --- a/Crypto/Hash/Internal/MD5.hs +++ b/Crypto/Hash/Internal/MD5.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface, CPP, MultiParamTypeClasses #-} - -- | -- Module : Crypto.Hash.Internal.MD5 -- License : BSD-style @@ -9,6 +7,7 @@ -- -- A module containing MD5 bindings -- +{-# LANGUAGE ForeignFunctionInterface #-} module Crypto.Hash.Internal.MD5 ( Ctx(..) -- * Internal values diff --git a/Crypto/Hash/Internal/RIPEMD160.hs b/Crypto/Hash/Internal/RIPEMD160.hs index 3c71849..5420aff 100644 --- a/Crypto/Hash/Internal/RIPEMD160.hs +++ b/Crypto/Hash/Internal/RIPEMD160.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface, CPP, MultiParamTypeClasses #-} - -- | -- Module : Crypto.Hash.Internal.RIPEMD160 -- License : BSD-style @@ -9,6 +7,7 @@ -- -- A module containing RIPEMD160 bindings -- +{-# LANGUAGE ForeignFunctionInterface #-} module Crypto.Hash.Internal.RIPEMD160 ( Ctx(..) -- * Internal values diff --git a/Crypto/Hash/Internal/SHA1.hs b/Crypto/Hash/Internal/SHA1.hs index cac99bd..9689299 100644 --- a/Crypto/Hash/Internal/SHA1.hs +++ b/Crypto/Hash/Internal/SHA1.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface, CPP, MultiParamTypeClasses #-} - -- | -- Module : Crypto.Hash.Internal.SHA1 -- License : BSD-style @@ -9,6 +7,7 @@ -- -- A module containing SHA1 bindings -- +{-# LANGUAGE ForeignFunctionInterface #-} module Crypto.Hash.Internal.SHA1 ( Ctx(..) -- * Internal values diff --git a/Crypto/Hash/Internal/SHA224.hs b/Crypto/Hash/Internal/SHA224.hs index 3ab5e46..8c0cb45 100644 --- a/Crypto/Hash/Internal/SHA224.hs +++ b/Crypto/Hash/Internal/SHA224.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface, CPP, MultiParamTypeClasses #-} - -- | -- Module : Crypto.Hash.Internal.SHA224 -- License : BSD-style @@ -9,6 +7,7 @@ -- -- A module containing SHA224 bindings -- +{-# LANGUAGE ForeignFunctionInterface #-} module Crypto.Hash.Internal.SHA224 ( Ctx(..) -- * Internal values diff --git a/Crypto/Hash/Internal/SHA256.hs b/Crypto/Hash/Internal/SHA256.hs index 986ac1f..48ea915 100644 --- a/Crypto/Hash/Internal/SHA256.hs +++ b/Crypto/Hash/Internal/SHA256.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface, CPP, MultiParamTypeClasses #-} - -- | -- Module : Crypto.Hash.Internal.SHA256 -- License : BSD-style @@ -9,6 +7,7 @@ -- -- A module containing SHA256 bindings -- +{-# LANGUAGE ForeignFunctionInterface #-} module Crypto.Hash.Internal.SHA256 ( Ctx(..) -- * Internal values diff --git a/Crypto/Hash/Internal/SHA3.hs b/Crypto/Hash/Internal/SHA3.hs index f6e5efc..cb4c9f1 100644 --- a/Crypto/Hash/Internal/SHA3.hs +++ b/Crypto/Hash/Internal/SHA3.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface, CPP, MultiParamTypeClasses #-} - -- | -- Module : Crypto.Hash.Internal.SHA3 -- License : BSD-style @@ -9,6 +7,7 @@ -- -- A module containing SHA3 bindings -- +{-# LANGUAGE ForeignFunctionInterface #-} module Crypto.Hash.Internal.SHA3 ( Ctx(..) -- * Internal values diff --git a/Crypto/Hash/Internal/SHA384.hs b/Crypto/Hash/Internal/SHA384.hs index e8419fd..466b8e0 100644 --- a/Crypto/Hash/Internal/SHA384.hs +++ b/Crypto/Hash/Internal/SHA384.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface, CPP, MultiParamTypeClasses #-} - -- | -- Module : Crypto.Hash.Internal.SHA384 -- License : BSD-style @@ -9,6 +7,7 @@ -- -- A module containing SHA384 bindings -- +{-# LANGUAGE ForeignFunctionInterface #-} module Crypto.Hash.Internal.SHA384 ( Ctx(..) -- * Internal values diff --git a/Crypto/Hash/Internal/SHA512.hs b/Crypto/Hash/Internal/SHA512.hs index d4a04a0..e9e79ab 100644 --- a/Crypto/Hash/Internal/SHA512.hs +++ b/Crypto/Hash/Internal/SHA512.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface, CPP, MultiParamTypeClasses #-} - -- | -- Module : Crypto.Hash.Internal.SHA512 -- License : BSD-style @@ -9,6 +7,7 @@ -- -- A module containing SHA512 bindings -- +{-# LANGUAGE ForeignFunctionInterface #-} module Crypto.Hash.Internal.SHA512 ( Ctx(..) -- * Internal values diff --git a/Crypto/Hash/Internal/Skein256.hs b/Crypto/Hash/Internal/Skein256.hs index d0d5970..c854185 100644 --- a/Crypto/Hash/Internal/Skein256.hs +++ b/Crypto/Hash/Internal/Skein256.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface, CPP, MultiParamTypeClasses #-} - -- | -- Module : Crypto.Hash.Internal.Skein256 -- License : BSD-style @@ -9,6 +7,7 @@ -- -- A module containing Skein256 bindings -- +{-# LANGUAGE ForeignFunctionInterface #-} module Crypto.Hash.Internal.Skein256 ( Ctx(..) -- * Internal values diff --git a/Crypto/Hash/Internal/Skein512.hs b/Crypto/Hash/Internal/Skein512.hs index 783a315..03990ae 100644 --- a/Crypto/Hash/Internal/Skein512.hs +++ b/Crypto/Hash/Internal/Skein512.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface, CPP, MultiParamTypeClasses #-} - -- | -- Module : Crypto.Hash.Internal.Skein512 -- License : BSD-style @@ -9,6 +7,7 @@ -- -- A module containing Skein512 bindings -- +{-# LANGUAGE ForeignFunctionInterface #-} module Crypto.Hash.Internal.Skein512 ( Ctx(..) -- * Internal values diff --git a/Crypto/Hash/Internal/Tiger.hs b/Crypto/Hash/Internal/Tiger.hs index efb3b9a..8e89787 100644 --- a/Crypto/Hash/Internal/Tiger.hs +++ b/Crypto/Hash/Internal/Tiger.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface, CPP, MultiParamTypeClasses #-} - -- | -- Module : Crypto.Hash.Internal.Tiger -- License : BSD-style @@ -9,6 +7,7 @@ -- -- A module containing Tiger bindings -- +{-# LANGUAGE ForeignFunctionInterface #-} module Crypto.Hash.Internal.Tiger ( Ctx(..) -- * Internal values diff --git a/Crypto/Hash/Internal/Whirlpool.hs b/Crypto/Hash/Internal/Whirlpool.hs index 7fb6f4e..63daffd 100644 --- a/Crypto/Hash/Internal/Whirlpool.hs +++ b/Crypto/Hash/Internal/Whirlpool.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface, CPP, MultiParamTypeClasses #-} - -- | -- Module : Crypto.Hash.Internal.Whirlpool -- License : BSD-style @@ -9,6 +7,7 @@ -- -- A module containing Whirlpool bindings -- +{-# LANGUAGE ForeignFunctionInterface #-} module Crypto.Hash.Internal.Whirlpool ( Ctx(..) -- * Internal values diff --git a/Crypto/Hash/Kekkak.hs b/Crypto/Hash/Kekkak.hs index d158e26..47d821c 100644 --- a/Crypto/Hash/Kekkak.hs +++ b/Crypto/Hash/Kekkak.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface #-} - -- | -- Module : Crypto.Hash.Kekkak -- License : BSD-style diff --git a/Crypto/Hash/MD2.hs b/Crypto/Hash/MD2.hs index af8e9bc..66bfa2d 100644 --- a/Crypto/Hash/MD2.hs +++ b/Crypto/Hash/MD2.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface #-} - -- | -- Module : Crypto.Hash.MD2 -- License : BSD-style diff --git a/Crypto/Hash/MD4.hs b/Crypto/Hash/MD4.hs index 87d1b17..357f214 100644 --- a/Crypto/Hash/MD4.hs +++ b/Crypto/Hash/MD4.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface #-} - -- | -- Module : Crypto.Hash.MD4 -- License : BSD-style diff --git a/Crypto/Hash/MD5.hs b/Crypto/Hash/MD5.hs index a5a555b..4b980a7 100644 --- a/Crypto/Hash/MD5.hs +++ b/Crypto/Hash/MD5.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface #-} - -- | -- Module : Crypto.Hash.MD5 -- License : BSD-style diff --git a/Crypto/Hash/RIPEMD160.hs b/Crypto/Hash/RIPEMD160.hs index 425372a..4753d0f 100644 --- a/Crypto/Hash/RIPEMD160.hs +++ b/Crypto/Hash/RIPEMD160.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface #-} - -- | -- Module : Crypto.Hash.RIPEMD160 -- License : BSD-style diff --git a/Crypto/Hash/SHA1.hs b/Crypto/Hash/SHA1.hs index f3c9aac..2598825 100644 --- a/Crypto/Hash/SHA1.hs +++ b/Crypto/Hash/SHA1.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface #-} - -- | -- Module : Crypto.Hash.SHA1 -- License : BSD-style diff --git a/Crypto/Hash/SHA224.hs b/Crypto/Hash/SHA224.hs index a306925..2e400aa 100644 --- a/Crypto/Hash/SHA224.hs +++ b/Crypto/Hash/SHA224.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface #-} - -- | -- Module : Crypto.Hash.SHA224 -- License : BSD-style diff --git a/Crypto/Hash/SHA256.hs b/Crypto/Hash/SHA256.hs index 8f05fde..16c4b1a 100644 --- a/Crypto/Hash/SHA256.hs +++ b/Crypto/Hash/SHA256.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface #-} - -- | -- Module : Crypto.Hash.SHA256 -- License : BSD-style diff --git a/Crypto/Hash/SHA3.hs b/Crypto/Hash/SHA3.hs index c466ee2..a295268 100644 --- a/Crypto/Hash/SHA3.hs +++ b/Crypto/Hash/SHA3.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface #-} - -- | -- Module : Crypto.Hash.SHA3 -- License : BSD-style diff --git a/Crypto/Hash/SHA384.hs b/Crypto/Hash/SHA384.hs index 7790394..5095536 100644 --- a/Crypto/Hash/SHA384.hs +++ b/Crypto/Hash/SHA384.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface #-} - -- | -- Module : Crypto.Hash.SHA384 -- License : BSD-style diff --git a/Crypto/Hash/SHA512.hs b/Crypto/Hash/SHA512.hs index 0457776..19456a3 100644 --- a/Crypto/Hash/SHA512.hs +++ b/Crypto/Hash/SHA512.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface #-} - -- | -- Module : Crypto.Hash.SHA512 -- License : BSD-style diff --git a/Crypto/Hash/Skein256.hs b/Crypto/Hash/Skein256.hs index 269827b..fb50f01 100644 --- a/Crypto/Hash/Skein256.hs +++ b/Crypto/Hash/Skein256.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface #-} - -- | -- Module : Crypto.Hash.Skein256 -- License : BSD-style diff --git a/Crypto/Hash/Skein512.hs b/Crypto/Hash/Skein512.hs index ce70849..55dd1bc 100644 --- a/Crypto/Hash/Skein512.hs +++ b/Crypto/Hash/Skein512.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface #-} - -- | -- Module : Crypto.Hash.Skein512 -- License : BSD-style diff --git a/Crypto/Hash/Tiger.hs b/Crypto/Hash/Tiger.hs index 12ae0c0..3412229 100644 --- a/Crypto/Hash/Tiger.hs +++ b/Crypto/Hash/Tiger.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface #-} - -- | -- Module : Crypto.Hash.Tiger -- License : BSD-style diff --git a/Crypto/Hash/Whirlpool.hs b/Crypto/Hash/Whirlpool.hs index 4d7773c..6fe60c4 100644 --- a/Crypto/Hash/Whirlpool.hs +++ b/Crypto/Hash/Whirlpool.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface #-} - -- | -- Module : Crypto.Hash.Whirlpool -- License : BSD-style