Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Bindings.Nettle.Cipher.Salsa20
Documentation
c'SALSA20_BLOCK_SIZE :: Num a => a Source #
c'SALSA20_MIN_KEY_SIZE :: Num a => a Source #
c'SALSA20_MAX_KEY_SIZE :: Num a => a Source #
c'SALSA20_KEY_SIZE :: Num a => a Source #
c'SALSA20_IV_SIZE :: Num a => a Source #
data C'salsa20_ctx Source #
Constructors
C'salsa20_ctx | |
Instances
Storable C'salsa20_ctx Source # | |
Defined in Bindings.Nettle.Cipher.Salsa20 Methods sizeOf :: C'salsa20_ctx -> Int Source # alignment :: C'salsa20_ctx -> Int Source # peekElemOff :: Ptr C'salsa20_ctx -> Int -> IO C'salsa20_ctx Source # pokeElemOff :: Ptr C'salsa20_ctx -> Int -> C'salsa20_ctx -> IO () Source # peekByteOff :: Ptr b -> Int -> IO C'salsa20_ctx Source # pokeByteOff :: Ptr b -> Int -> C'salsa20_ctx -> IO () Source # peek :: Ptr C'salsa20_ctx -> IO C'salsa20_ctx Source # poke :: Ptr C'salsa20_ctx -> C'salsa20_ctx -> IO () Source # | |
Show C'salsa20_ctx Source # | |
Defined in Bindings.Nettle.Cipher.Salsa20 | |
Eq C'salsa20_ctx Source # | |
Defined in Bindings.Nettle.Cipher.Salsa20 Methods (==) :: C'salsa20_ctx -> C'salsa20_ctx -> Bool Source # (/=) :: C'salsa20_ctx -> C'salsa20_ctx -> Bool Source # |
c'nettle_salsa20_set_key :: Ptr C'salsa20_ctx -> CUInt -> Ptr CUChar -> IO () Source #
c'nettle_salsa20_set_nonce :: Ptr C'salsa20_ctx -> Ptr CUChar -> IO () Source #
p'nettle_salsa20_set_key :: FunPtr (Ptr C'salsa20_ctx -> CUInt -> Ptr CUChar -> IO ()) Source #
p'nettle_salsa20_set_nonce :: FunPtr (Ptr C'salsa20_ctx -> Ptr CUChar -> IO ()) Source #
c'nettle_salsa20r12_crypt :: Ptr C'salsa20_ctx -> CUInt -> Ptr CUChar -> Ptr CUChar -> IO () Source #