From fd9f2a18eeaa5361660caa4c23384ea38973b021 Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Thu, 2 Aug 2018 17:41:48 -0400 Subject: Eliminate Data.Digest.Internal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move Data.Digest.Internal’s functions and types into more appropriate modules. There’s now a single BTLS hierarchy that contains all internal modules for the project. --- src/Data/HMAC.hs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/Data/HMAC.hs') diff --git a/src/Data/HMAC.hs b/src/Data/HMAC.hs index b0387c6..8697c20 100644 --- a/src/Data/HMAC.hs +++ b/src/Data/HMAC.hs @@ -26,10 +26,9 @@ import Foreign.Marshal.Unsafe (unsafeLocalState) import BTLS.BoringSSL.Base import BTLS.BoringSSL.HMAC import BTLS.BoringSSL.Mem (cryptoMemcmp) +import BTLS.BoringSSLPatterns (initUpdateFinalize) import BTLS.Cast (asCUCharBuf) -import BTLS.Types (SecretKey(SecretKey)) -import Data.Digest.Internal - (Algorithm(Algorithm), Digest(Digest), initUpdateFinalize) +import BTLS.Types (Algorithm(Algorithm), Digest(Digest), SecretKey(SecretKey)) type LazyByteString = ByteString.Lazy.ByteString -- cgit v1.2.3