Safe Haskell | Safe |
---|---|
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
Eq C'twofish_ctx Source # | |
Defined in Bindings.Nettle.Cipher.Twofish Methods (==) :: C'twofish_ctx -> C'twofish_ctx -> Bool # (/=) :: C'twofish_ctx -> C'twofish_ctx -> Bool # | |
Show C'twofish_ctx Source # | |
Defined in Bindings.Nettle.Cipher.Twofish Methods showsPrec :: Int -> C'twofish_ctx -> ShowS # show :: C'twofish_ctx -> String # showList :: [C'twofish_ctx] -> ShowS # | |
Storable C'twofish_ctx Source # | |
Defined in Bindings.Nettle.Cipher.Twofish Methods sizeOf :: C'twofish_ctx -> Int # alignment :: C'twofish_ctx -> Int # peekElemOff :: Ptr C'twofish_ctx -> Int -> IO C'twofish_ctx # pokeElemOff :: Ptr C'twofish_ctx -> Int -> C'twofish_ctx -> IO () # peekByteOff :: Ptr b -> Int -> IO C'twofish_ctx # pokeByteOff :: Ptr b -> Int -> C'twofish_ctx -> IO () # peek :: Ptr C'twofish_ctx -> IO C'twofish_ctx # poke :: Ptr C'twofish_ctx -> C'twofish_ctx -> IO () # |
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 #