summaryrefslogtreecommitdiff
path: root/lib/crypto-api.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2014-10-25 15:28:34 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2014-10-25 15:28:34 +0200
commit996fe9f8a390fca98620dd5e25f6275a67c74a79 (patch)
tree543f26979350feae6e4a7a1458bf0036353c9c0e /lib/crypto-api.c
parent9ca34ded99a7d5e27c8610daa0fd31f6797f2250 (diff)
downloadgnutls-996fe9f8a390fca98620dd5e25f6275a67c74a79.tar.gz
doc update
Diffstat (limited to 'lib/crypto-api.c')
-rw-r--r--lib/crypto-api.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/crypto-api.c b/lib/crypto-api.c
index 9b6c79c084..a5749c10f6 100644
--- a/lib/crypto-api.c
+++ b/lib/crypto-api.c
@@ -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.
*