[DES] remove unnecessary imports
This commit is contained in:
parent
26fdfcf563
commit
796bbef3c2
@ -17,9 +17,7 @@ import Crypto.Cipher.DES.Primitive (Block(..))
|
|||||||
import Crypto.Internal.ByteArray
|
import Crypto.Internal.ByteArray
|
||||||
import Crypto.Internal.Endian
|
import Crypto.Internal.Endian
|
||||||
|
|
||||||
import Data.Word (Word64)
|
|
||||||
import Foreign.Storable
|
import Foreign.Storable
|
||||||
import Foreign.Ptr (castPtr, plusPtr, Ptr)
|
|
||||||
|
|
||||||
toBS :: Block -> B.ByteString
|
toBS :: Block -> B.ByteString
|
||||||
toBS (Block w) = byteArrayAllocAndFreeze 8 $ \ptr -> poke ptr (toBE64 w)
|
toBS (Block w) = byteArrayAllocAndFreeze 8 $ \ptr -> poke ptr (toBE64 w)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user