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/Codec/Crypto/HKDF.hs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/Codec') diff --git a/src/Codec/Crypto/HKDF.hs b/src/Codec/Crypto/HKDF.hs index 4547a52..2b1dc1f 100644 --- a/src/Codec/Crypto/HKDF.hs +++ b/src/Codec/Crypto/HKDF.hs @@ -26,8 +26,9 @@ import BTLS.BoringSSL.Digest (evpMaxMDSize) import BTLS.BoringSSL.HKDF import BTLS.Cast (asCUCharBuf) import BTLS.Types - (AssociatedData(AssociatedData), Salt(Salt), SecretKey(SecretKey), noSalt) -import Data.Digest.Internal (Algorithm(Algorithm)) + ( Algorithm(Algorithm), AssociatedData(AssociatedData), Salt(Salt) + , SecretKey(SecretKey), noSalt + ) -- | Computes an HKDF pseudorandom key (PRK) as specified by RFC 5869. extract :: Algorithm -> Salt -> SecretKey -> SecretKey -- cgit v1.2.3