1gnutls_cipher_decrypt2(3)           gnutls           gnutls_cipher_decrypt2(3)
2
3
4

NAME

6       gnutls_cipher_decrypt2 - API function
7

SYNOPSIS

9       #include <gnutls/crypto.h>
10
11       int  gnutls_cipher_decrypt2(gnutls_cipher_hd_t  handle,  const  void  *
12       ciphertext, size_t ciphertextlen, void * text, size_t textlen);
13

ARGUMENTS

15       gnutls_cipher_hd_t handle
16                   is a gnutls_cipher_hd_t structure.
17
18       const void * ciphertext
19                   the data to encrypt
20
21       size_t ciphertextlen
22                   The length of data to encrypt
23
24       void * text the decrypted data
25
26       size_t textlen
27                   The available length for decrypted data
28

DESCRIPTION

30       This function will decrypt the given data using the algorithm specified
31       by the context.
32
33       Note  that  in AEAD ciphers, this will not check the tag. You will need
34       to   compare   the   tag   sent   with   the   value   returned    from
35       gnutls_cipher_tag().
36

RETURNS

38       Zero or a negative error code on error.
39

SINCE

41       2.12.0
42

REPORTING BUGS

44       Report bugs to <bugs@gnutls.org>.
45       Home page: http://www.gnutls.org
46
47
49       Copyright © 2001-2014 Free Software Foundation, Inc..
50       Copying  and  distribution  of this file, with or without modification,
51       are permitted in any medium  without  royalty  provided  the  copyright
52       notice and this notice are preserved.
53

SEE ALSO

55       The  full  documentation  for gnutls is maintained as a Texinfo manual.
56       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
57       visit
58
59       http://www.gnutls.org/manual/
60
61gnutls                              3.3.29           gnutls_cipher_decrypt2(3)
Impressum