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_cipher_add_auth | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/functions/gnutls_cipher_add_auth (limited to 'doc/functions/gnutls_cipher_add_auth') diff --git a/doc/functions/gnutls_cipher_add_auth b/doc/functions/gnutls_cipher_add_auth new file mode 100644 index 0000000..3825143 --- /dev/null +++ b/doc/functions/gnutls_cipher_add_auth @@ -0,0 +1,20 @@ + + + + +@deftypefun {int} {gnutls_cipher_add_auth} (gnutls_cipher_hd_t @var{handle}, const void * @var{ptext}, size_t @var{ptext_size}) +@var{handle}: is a @code{gnutls_cipher_hd_t} type + +@var{ptext}: the data to be authenticated + +@var{ptext_size}: the length of the data + +This function operates on authenticated encryption with +associated data (AEAD) ciphers and authenticate the +input data. This function can only be called once +and before any encryption operations. + +@strong{Returns:} Zero or a negative error code on error. + +@strong{Since:} 3.0 +@end deftypefun -- cgit v1.2.3