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

Bindings.Nettle.Cipher.Blowfish

Documentation

data C'blowfish_ctx Source #

Constructors

C'blowfish_ctx 

Instances

Instances details
Eq C'blowfish_ctx Source # 
Instance details

Defined in Bindings.Nettle.Cipher.Blowfish

Show C'blowfish_ctx Source # 
Instance details

Defined in Bindings.Nettle.Cipher.Blowfish

Methods

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

show :: C'blowfish_ctx -> String

showList :: [C'blowfish_ctx] -> ShowS

Storable C'blowfish_ctx Source # 
Instance details

Defined in Bindings.Nettle.Cipher.Blowfish

Methods

sizeOf :: C'blowfish_ctx -> Int

alignment :: C'blowfish_ctx -> Int

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

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

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

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

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

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

c'nettle_blowfish_set_key :: Ptr C'blowfish_ctx -> CUInt -> Ptr CUChar -> IO () Source #

c'nettle_blowfish_encrypt :: Ptr C'blowfish_ctx -> CUInt -> Ptr CUChar -> Ptr CUChar -> IO () Source #

p'nettle_blowfish_set_key :: FunPtr (Ptr C'blowfish_ctx -> CUInt -> Ptr CUChar -> IO ()) Source #

c'nettle_blowfish_decrypt :: Ptr C'blowfish_ctx -> CUInt -> Ptr CUChar -> Ptr CUChar -> IO () Source #

p'nettle_blowfish_encrypt :: FunPtr (Ptr C'blowfish_ctx -> CUInt -> Ptr CUChar -> Ptr CUChar -> IO ()) Source #

p'nettle_blowfish_decrypt :: FunPtr (Ptr C'blowfish_ctx -> CUInt -> Ptr CUChar -> Ptr CUChar -> IO ()) Source #