From e82c0524e4a4ca6d871a988f24ed25b88e0cd891 Mon Sep 17 00:00:00 2001 From: Vincent Hanquez Date: Wed, 6 May 2015 11:48:08 +0100 Subject: [PATCH] [tests] rename Hash module --- tests/{KATHash.hs => Hash.hs} | 2 +- tests/Tests.hs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename tests/{KATHash.hs => Hash.hs} (99%) diff --git a/tests/KATHash.hs b/tests/Hash.hs similarity index 99% rename from tests/KATHash.hs rename to tests/Hash.hs index 84bd117..a8d497f 100644 --- a/tests/KATHash.hs +++ b/tests/Hash.hs @@ -1,7 +1,7 @@ {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE ViewPatterns #-} {-# LANGUAGE ExistentialQuantification #-} -module KATHash +module Hash ( tests ) where diff --git a/tests/Tests.hs b/tests/Tests.hs index aeccc3a..495fc81 100644 --- a/tests/Tests.hs +++ b/tests/Tests.hs @@ -11,7 +11,7 @@ import qualified Crypto.Cipher.Salsa as Salsa import qualified Crypto.MAC.Poly1305 as Poly1305 import qualified Crypto.Internal.ByteArray as B (convert) -import qualified KATHash +import qualified Hash import qualified KAT_HMAC import qualified KAT_PBKDF2 import qualified KAT_Curve25519 @@ -79,7 +79,7 @@ tests = testGroup "cryptonite" msg = B.pack $ take totalLen $ concat (replicate 10 [1..255]) in Poly1305.auth key msg == Poly1305.finalize (foldr (flip Poly1305.update) (Poly1305.initialize key) (chunks chunkLen msg)) ] - , KATHash.tests + , Hash.tests , KAT_HMAC.tests , KAT_Curve25519.tests , KAT_Ed25519.tests