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

Bindings.Nettle.Cipher.ChaChaPoly1305

Documentation

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 #