diff options
author | Benjamin Barenblat <bbaren@google.com> | 2018-08-02 17:41:48 -0400 |
---|---|---|
committer | Benjamin Barenblat <bbaren@google.com> | 2018-08-02 17:41:48 -0400 |
commit | fd9f2a18eeaa5361660caa4c23384ea38973b021 (patch) | |
tree | b91bb69368664de23a1119ce625ba80aa1baccfd /src/Data/HMAC.hs | |
parent | 786d272fdf723987e582da16e511f067abf671a5 (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/HMAC.hs')
-rw-r--r-- | src/Data/HMAC.hs | 5 |
1 files changed, 2 insertions, 3 deletions
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 |