5 @deftypefun {int} {gnutls_cipher_decrypt} (gnutls_cipher_hd_t @var{handle}, void * @var{ciphertext}, size_t @var{ciphertextlen})
6 @var{handle}: is a @code{gnutls_cipher_hd_t} structure.
8 @var{ciphertext}: the data to encrypt
10 @var{ciphertextlen}: The length of data to encrypt
12 This function will decrypt the given data using the algorithm
13 specified by the context.
15 Note that in AEAD ciphers, this will not check the tag. You will
16 need to compare the tag sent with the value returned from @code{gnutls_cipher_tag()} .
18 @strong{Returns:} Zero or a negative error code on error.
20 @strong{Since:} 2.10.0