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

Bindings.Nettle.Cipher.CAST128

Documentation

data C'cast128_ctx Source #

Constructors

C'cast128_ctx 

Instances

Instances details
Eq C'cast128_ctx Source # 
Instance details

Defined in Bindings.Nettle.Cipher.CAST128

Show C'cast128_ctx Source # 
Instance details

Defined in Bindings.Nettle.Cipher.CAST128

Methods

showsPrec :: Int -> C'cast128_ctx -> ShowS

show :: C'cast128_ctx -> String

showList :: [C'cast128_ctx] -> ShowS

Storable C'cast128_ctx Source # 
Instance details

Defined in Bindings.Nettle.Cipher.CAST128

Methods

sizeOf :: C'cast128_ctx -> Int

alignment :: C'cast128_ctx -> Int

peekElemOff :: Ptr C'cast128_ctx -> Int -> IO C'cast128_ctx

pokeElemOff :: Ptr C'cast128_ctx -> Int -> C'cast128_ctx -> IO ()

peekByteOff :: Ptr b -> Int -> IO C'cast128_ctx

pokeByteOff :: Ptr b -> Int -> C'cast128_ctx -> IO ()

peek :: Ptr C'cast128_ctx -> IO C'cast128_ctx

poke :: Ptr C'cast128_ctx -> C'cast128_ctx -> IO ()

c'nettle_cast5_set_key :: Ptr C'cast128_ctx -> CUInt -> Ptr CUChar -> IO () Source #

c'nettle_cast128_set_key :: Ptr C'cast128_ctx -> Ptr CUChar -> IO () Source #

p'nettle_cast5_set_key :: FunPtr (Ptr C'cast128_ctx -> CUInt -> Ptr CUChar -> IO ()) Source #

c'nettle_cast128_encrypt :: Ptr C'cast128_ctx -> CUInt -> Ptr CUChar -> Ptr CUChar -> IO () Source #

p'nettle_cast128_set_key :: FunPtr (Ptr C'cast128_ctx -> Ptr CUChar -> IO ()) Source #

c'nettle_cast128_decrypt :: Ptr C'cast128_ctx -> CUInt -> Ptr CUChar -> Ptr CUChar -> IO () Source #

p'nettle_cast128_encrypt :: FunPtr (Ptr C'cast128_ctx -> CUInt -> Ptr CUChar -> Ptr CUChar -> IO ()) Source #

p'nettle_cast128_decrypt :: FunPtr (Ptr C'cast128_ctx -> CUInt -> Ptr CUChar -> Ptr CUChar -> IO ()) Source #