Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Bindings.Nettle.Cipher.ChaChaPoly1305
Documentation
c'CHACHA_POLY1305_BLOCK_SIZE :: Num a => a Source #
c'CHACHA_POLY1305_KEY_SIZE :: Num a => a Source #
c'CHACHA_POLY1305_NONCE_SIZE :: Num a => a Source #
c'CHACHA_POLY1305_DIGEST_SIZE :: Num a => a Source #
data C'chacha_poly1305_ctx Source #
Constructors
C'chacha_poly1305_ctx | |
Instances
Eq C'chacha_poly1305_ctx Source # | |
Defined in Bindings.Nettle.Cipher.ChaChaPoly1305 Methods (==) :: C'chacha_poly1305_ctx -> C'chacha_poly1305_ctx -> Bool Source # (/=) :: C'chacha_poly1305_ctx -> C'chacha_poly1305_ctx -> Bool Source # | |
Show C'chacha_poly1305_ctx Source # | |
Defined in Bindings.Nettle.Cipher.ChaChaPoly1305 | |
Storable C'chacha_poly1305_ctx Source # | |
Defined in Bindings.Nettle.Cipher.ChaChaPoly1305 Methods sizeOf :: C'chacha_poly1305_ctx -> Int Source # alignment :: C'chacha_poly1305_ctx -> Int Source # peekElemOff :: Ptr C'chacha_poly1305_ctx -> Int -> IO C'chacha_poly1305_ctx Source # pokeElemOff :: Ptr C'chacha_poly1305_ctx -> Int -> C'chacha_poly1305_ctx -> IO () Source # peekByteOff :: Ptr b -> Int -> IO C'chacha_poly1305_ctx Source # pokeByteOff :: Ptr b -> Int -> C'chacha_poly1305_ctx -> IO () Source # peek :: Ptr C'chacha_poly1305_ctx -> IO C'chacha_poly1305_ctx Source # poke :: Ptr C'chacha_poly1305_ctx -> C'chacha_poly1305_ctx -> IO () Source # |
c'nettle_chacha_poly1305_set_key :: Ptr C'chacha_poly1305_ctx -> Ptr CUChar -> IO () Source #
c'nettle_chacha_poly1305_set_nonce :: Ptr C'chacha_poly1305_ctx -> Ptr CUChar -> IO () Source #
c'nettle_chacha_poly1305_update :: Ptr C'chacha_poly1305_ctx -> CUInt -> Ptr CUChar -> IO () Source #
p'nettle_chacha_poly1305_set_key :: FunPtr (Ptr C'chacha_poly1305_ctx -> Ptr CUChar -> IO ()) Source #
p'nettle_chacha_poly1305_set_nonce :: FunPtr (Ptr C'chacha_poly1305_ctx -> Ptr CUChar -> IO ()) Source #
c'nettle_chacha_poly1305_encrypt :: Ptr C'chacha_poly1305_ctx -> CUInt -> Ptr CUChar -> Ptr CUChar -> IO () Source #
p'nettle_chacha_poly1305_update :: FunPtr (Ptr C'chacha_poly1305_ctx -> CUInt -> Ptr CUChar -> IO ()) Source #
c'nettle_chacha_poly1305_decrypt :: Ptr C'chacha_poly1305_ctx -> CUInt -> Ptr CUChar -> Ptr CUChar -> IO () Source #
c'nettle_chacha_poly1305_digest :: Ptr C'chacha_poly1305_ctx -> CUInt -> Ptr CUChar -> IO () Source #
p'nettle_chacha_poly1305_encrypt :: FunPtr (Ptr C'chacha_poly1305_ctx -> CUInt -> Ptr CUChar -> Ptr CUChar -> IO ()) Source #
p'nettle_chacha_poly1305_decrypt :: FunPtr (Ptr C'chacha_poly1305_ctx -> CUInt -> Ptr CUChar -> Ptr CUChar -> IO ()) Source #
p'nettle_chacha_poly1305_digest :: FunPtr (Ptr C'chacha_poly1305_ctx -> CUInt -> Ptr CUChar -> IO ()) Source #