bindings-nettle-0.4: bindings to nettle crypto library
Safe HaskellSafe
LanguageHaskell2010

Bindings.Nettle.Cipher.Twofish

Documentation

data C'twofish_ctx Source #

Constructors

C'twofish_ctx 

Instances

Instances details
Eq C'twofish_ctx Source # 
Instance details

Defined in Bindings.Nettle.Cipher.Twofish

Show C'twofish_ctx Source # 
Instance details

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 # 
Instance details

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 #

p'nettle_twofish_encrypt :: FunPtr (Ptr C'twofish_ctx -> CUInt -> Ptr CUChar -> Ptr CUChar -> IO ()) Source #

p'nettle_twofish_decrypt :: FunPtr (Ptr C'twofish_ctx -> CUInt -> Ptr CUChar -> Ptr CUChar -> IO ()) Source #