[DES] remove unnecessary imports

This commit is contained in:
Vincent Hanquez 2015-04-11 16:03:42 +01:00
parent 26fdfcf563
commit 796bbef3c2

View File

@ -17,9 +17,7 @@ import Crypto.Cipher.DES.Primitive (Block(..))
import Crypto.Internal.ByteArray
import Crypto.Internal.Endian
import Data.Word (Word64)
import Foreign.Storable
import Foreign.Ptr (castPtr, plusPtr, Ptr)
toBS :: Block -> B.ByteString
toBS (Block w) = byteArrayAllocAndFreeze 8 $ \ptr -> poke ptr (toBE64 w)