diff options
Diffstat (limited to 'src/Codec/Crypto/HKDF.hs')
-rw-r--r-- | src/Codec/Crypto/HKDF.hs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Codec/Crypto/HKDF.hs b/src/Codec/Crypto/HKDF.hs index 1c1dbda..8c1db0a 100644 --- a/src/Codec/Crypto/HKDF.hs +++ b/src/Codec/Crypto/HKDF.hs @@ -24,11 +24,11 @@ import Foreign.C.Types import Foreign.Marshal.Unsafe (unsafeLocalState) import Unsafe.Coerce (unsafeCoerce) -import Data.Digest.Internal (Algorithm(Algorithm)) -import Internal.Digest (evpMaxMDSize) -import Internal.HKDF -import Types +import BTLS.BoringSSL.Digest (evpMaxMDSize) +import BTLS.BoringSSL.HKDF +import BTLS.Types (AssociatedData(AssociatedData), Salt(Salt), SecretKey(SecretKey), noSalt) +import Data.Digest.Internal (Algorithm(Algorithm)) -- | Computes an HKDF pseudorandom key (PRK) as specified by RFC 5869. extract :: Algorithm -> Salt -> SecretKey -> SecretKey |