From 36082a2fe36ecd800d784ae44c14f1f18c66a7e9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 09:33:12 +0200 Subject: Adding upstream version 3.7.9. Signed-off-by: Daniel Baumann --- doc/functions/gnutls_aead_cipher_init | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/functions/gnutls_aead_cipher_init (limited to 'doc/functions/gnutls_aead_cipher_init') diff --git a/doc/functions/gnutls_aead_cipher_init b/doc/functions/gnutls_aead_cipher_init new file mode 100644 index 0000000..74f815f --- /dev/null +++ b/doc/functions/gnutls_aead_cipher_init @@ -0,0 +1,20 @@ + + + + +@deftypefun {int} {gnutls_aead_cipher_init} (gnutls_aead_cipher_hd_t * @var{handle}, gnutls_cipher_algorithm_t @var{cipher}, const gnutls_datum_t * @var{key}) +@var{handle}: is a @code{gnutls_aead_cipher_hd_t} type. + +@var{cipher}: the authenticated-encryption algorithm to use + +@var{key}: The key to be used for encryption + +This function will initialize an context that can be used for +encryption/decryption of data. This will effectively use the +current crypto backend in use by gnutls or the cryptographic +accelerator in use. + +@strong{Returns:} Zero or a negative error code on error. + +@strong{Since:} 3.4.0 +@end deftypefun -- cgit v1.2.3