1gnutls_aead_cipher_decryptv2(3) gnutls gnutls_aead_cipher_decryptv2(3)
2
3
4
6 gnutls_aead_cipher_decryptv2 - API function
7
9 #include <gnutls/crypto.h>
10
11 int gnutls_aead_cipher_decryptv2(gnutls_aead_cipher_hd_t handle, const
12 void * nonce, size_t nonce_len, const giovec_t * auth_iov, int
13 auth_iovcnt, const giovec_t * iov, int iovcnt, void * tag, size_t
14 tag_size);
15
17 gnutls_aead_cipher_hd_t handle
18 is a gnutls_aead_cipher_hd_t type.
19
20 const void * nonce
21 the nonce to set
22
23 size_t nonce_len
24 The length of the nonce
25
26 const giovec_t * auth_iov
27 additional data to be authenticated
28
29 int auth_iovcnt
30 The number of buffers in auth_iov
31
32 const giovec_t * iov
33 the data to decrypt
34
35 int iovcnt The number of buffers in iov
36
37 void * tag The authentication tag
38
39 size_t tag_size
40 The size of the tag to use (use zero for the default)
41
43 This is similar to gnutls_aead_cipher_decrypt(), but it performs
44 in-place encryption on the provided data buffers.
45
47 Zero or a negative error code on error.
48
50 3.6.10
51
53 Report bugs to <bugs@gnutls.org>.
54 Home page: https://www.gnutls.org
55
56
58 Copyright © 2001-2023 Free Software Foundation, Inc., and others.
59 Copying and distribution of this file, with or without modification,
60 are permitted in any medium without royalty provided the copyright no‐
61 tice and this notice are preserved.
62
64 The full documentation for gnutls is maintained as a Texinfo manual.
65 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
66 visit
67
68 https://www.gnutls.org/manual/
69
70gnutls 3.8.2 gnutls_aead_cipher_decryptv2(3)