aboutsummaryrefslogtreecommitdiff
path: root/src/Data/Digest.hs
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@google.com>2018-08-02 17:41:48 -0400
committerGravatar Benjamin Barenblat <bbaren@google.com>2018-08-02 17:41:48 -0400
commitfd9f2a18eeaa5361660caa4c23384ea38973b021 (patch)
treeb91bb69368664de23a1119ce625ba80aa1baccfd /src/Data/Digest.hs
parent786d272fdf723987e582da16e511f067abf671a5 (diff)
Eliminate Data.Digest.Internal
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.
Diffstat (limited to 'src/Data/Digest.hs')
-rw-r--r--src/Data/Digest.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Data/Digest.hs b/src/Data/Digest.hs
index 03026fb..0587d2b 100644
--- a/src/Data/Digest.hs
+++ b/src/Data/Digest.hs
@@ -26,8 +26,9 @@ import Foreign.Marshal.Unsafe (unsafeLocalState)
import BTLS.BoringSSL.Base
import BTLS.BoringSSL.Digest
+import BTLS.BoringSSLPatterns (initUpdateFinalize)
import BTLS.Cast (asCUCharBuf)
-import Data.Digest.Internal
+import BTLS.Types (Algorithm(Algorithm), Digest(Digest))
type LazyByteString = ByteString.Lazy.ByteString