From c4936ce6d8df441d5256ebe2903024102abb3328 Mon Sep 17 00:00:00 2001 From: Vincent Hanquez Date: Fri, 24 Feb 2017 14:03:33 +0000 Subject: [PATCH] remove Typeable --- Crypto/KDF/Argon2.hs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Crypto/KDF/Argon2.hs b/Crypto/KDF/Argon2.hs index 312ceaf..089fb97 100644 --- a/Crypto/KDF/Argon2.hs +++ b/Crypto/KDF/Argon2.hs @@ -30,7 +30,6 @@ import qualified Crypto.Internal.ByteArray as B import Crypto.Error import Control.Monad (when) import Data.Word -import Data.Typeable import Foreign.C import Foreign.Ptr @@ -48,11 +47,11 @@ data Variant = -- of data-depending and data-independent memory accesses, which gives -- some of Argon2i's resistance to side-channel cache timing attacks -- and much of Argon2d's resistance to GPU cracking attacks - deriving (Eq,Ord,Read,Show,Enum,Bounded,Typeable) + deriving (Eq,Ord,Read,Show,Enum,Bounded) -- | Which version of Argon2 to use data Version = Version10 | Version13 - deriving (Eq,Ord,Read,Show,Enum,Bounded,Typeable) + deriving (Eq,Ord,Read,Show,Enum,Bounded) -- | The time cost, which defines the amount of computation realized and therefore the execution time, given in number of iterations. -- @@ -78,7 +77,7 @@ data Options = Options , variant :: !Variant -- ^ Which variant of Argon2 to use. , version :: !Version -- ^ Which version of Argon2 to use. } - deriving (Eq,Ord,Read,Show,Typeable) + deriving (Eq,Ord,Read,Show) saltMinLength :: Int saltMinLength = 8