]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
doc update
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 25 Oct 2014 13:28:34 +0000 (15:28 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 25 Oct 2014 13:28:34 +0000 (15:28 +0200)
lib/crypto-api.c

index 9b6c79c084bb830b24d91c9325fd361f2574916f..a5749c10f60c855af3c11ce2c5798c6d8fa10df6 100644 (file)
@@ -729,7 +729,9 @@ gnutls_aead_cipher_decrypt(gnutls_aead_cipher_hd_t handle,
  *
  * This function will encrypt the given data using the algorithm
  * specified by the context. The output data will contain the
- * authentication tag.
+ * authentication tag. Each call of this function must be
+ * preceded with a call to gnutls_aead_cipher_set_nonce() with
+ * random nonce.
  *
  * Returns: Zero or a negative error code on error.
  *