Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Bindings.Nettle.Cipher.Twofish
Documentation
c'TWOFISH_BLOCK_SIZE :: Num a => a Source #
c'TWOFISH_MIN_KEY_SIZE :: Num a => a Source #
c'TWOFISH_MAX_KEY_SIZE :: Num a => a Source #
c'TWOFISH_KEY_SIZE :: Num a => a Source #
data C'twofish_ctx Source #
Constructors
C'twofish_ctx | |
Instances
Storable C'twofish_ctx Source # | |
Defined in Bindings.Nettle.Cipher.Twofish Methods sizeOf :: C'twofish_ctx -> Int Source # alignment :: C'twofish_ctx -> Int Source # peekElemOff :: Ptr C'twofish_ctx -> Int -> IO C'twofish_ctx Source # pokeElemOff :: Ptr C'twofish_ctx -> Int -> C'twofish_ctx -> IO () Source # peekByteOff :: Ptr b -> Int -> IO C'twofish_ctx Source # pokeByteOff :: Ptr b -> Int -> C'twofish_ctx -> IO () Source # peek :: Ptr C'twofish_ctx -> IO C'twofish_ctx Source # poke :: Ptr C'twofish_ctx -> C'twofish_ctx -> IO () Source # | |
Show C'twofish_ctx Source # | |
Defined in Bindings.Nettle.Cipher.Twofish | |
Eq C'twofish_ctx Source # | |
Defined in Bindings.Nettle.Cipher.Twofish Methods (==) :: C'twofish_ctx -> C'twofish_ctx -> Bool Source # (/=) :: C'twofish_ctx -> C'twofish_ctx -> Bool Source # |
c'nettle_twofish_set_key :: Ptr C'twofish_ctx -> CUInt -> Ptr CUChar -> IO () Source #
c'nettle_twofish_encrypt :: Ptr C'twofish_ctx -> CUInt -> Ptr CUChar -> Ptr CUChar -> IO () Source #
p'nettle_twofish_set_key :: FunPtr (Ptr C'twofish_ctx -> CUInt -> Ptr CUChar -> IO ()) Source #
c'nettle_twofish_decrypt :: Ptr C'twofish_ctx -> CUInt -> Ptr CUChar -> Ptr CUChar -> IO () Source #