1gnutls_cipher_add_auth(3)           gnutls           gnutls_cipher_add_auth(3)
2
3
4

NAME

6       gnutls_cipher_add_auth - API function
7

SYNOPSIS

9       #include <gnutls/crypto.h>
10
11       int  gnutls_cipher_add_auth(gnutls_cipher_hd_t  handle,  const  void  *
12       ptext, size_t ptext_size);
13

ARGUMENTS

15       gnutls_cipher_hd_t handle
16                   is a gnutls_cipher_hd_t type
17
18       const void * ptext
19                   the data to be authenticated
20
21       size_t ptext_size
22                   the length of the data
23

DESCRIPTION

25       This function operates on authenticated encryption with associated data
26       (AEAD)  ciphers and authenticate the input data. This function can only
27       be called once and before any encryption operations.
28

RETURNS

30       Zero or a negative error code on error.
31

SINCE

33       3.0
34

REPORTING BUGS

36       Report bugs to <bugs@gnutls.org>.
37       Home page: https://www.gnutls.org
38
39
41       Copyright © 2001- Free Software Foundation, Inc., and others.
42       Copying and distribution of this file, with  or  without  modification,
43       are  permitted in any medium without royalty provided the copyright no‐
44       tice and this notice are preserved.
45

SEE ALSO

47       The full documentation for gnutls is maintained as  a  Texinfo  manual.
48       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
49       visit
50
51       https://www.gnutls.org/manual/
52
53gnutls                               3.7.6           gnutls_cipher_add_auth(3)
Impressum