[DES] remove DES.Serialization module
This commit is contained in:
parent
d3f9647a54
commit
6ba517e945
@ -1,23 +0,0 @@
|
||||
-- |
|
||||
-- Module : Crypto.Cipher.DES.Serialization
|
||||
-- License : BSD-style
|
||||
-- Maintainer : Vincent Hanquez <vincent@snarc.org>
|
||||
-- Stability : stable
|
||||
-- Portability : good
|
||||
--
|
||||
-- basic routine to convert between W64 and bytestring for DES.
|
||||
--
|
||||
module Crypto.Cipher.DES.Serialization
|
||||
( toBS
|
||||
) where
|
||||
|
||||
import qualified Data.ByteString as B
|
||||
import Crypto.Cipher.DES.Primitive (Block(..))
|
||||
|
||||
import qualified Crypto.Internal.ByteArray as B
|
||||
import Crypto.Internal.Endian
|
||||
|
||||
import Foreign.Storable
|
||||
|
||||
toBS :: Block -> B.ByteString
|
||||
toBS (Block w) = B.allocAndFreeze 8 $ \ptr -> poke ptr (toBE64 w)
|
||||
@ -89,7 +89,6 @@ Library
|
||||
Crypto.Cipher.Blowfish.Primitive
|
||||
Crypto.Cipher.Camellia.Primitive
|
||||
Crypto.Cipher.DES.Primitive
|
||||
Crypto.Cipher.DES.Serialization
|
||||
Crypto.Cipher.Types.AEAD
|
||||
Crypto.Cipher.Types.Base
|
||||
Crypto.Cipher.Types.Block
|
||||
|
||||
Loading…
Reference in New Issue
Block a user