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       text, size_t text_size);
13

ARGUMENTS

15       gnutls_cipher_hd_t handle
16                   is a gnutls_cipher_hd_t structure.
17
18       const void * text
19                   the data to be authenticated
20
21       size_t text_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: http://www.gnutls.org
38
39
41       Copyright © 2001-2014 Free Software Foundation, Inc..
42       Copying and distribution of this file, with  or  without  modification,
43       are  permitted  in  any  medium  without royalty provided the copyright
44       notice 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       http://www.gnutls.org/manual/
52
53gnutls                              3.3.29           gnutls_cipher_add_auth(3)
Impressum