summaryrefslogtreecommitdiff
path: root/lib/crypto-api.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-06-01 14:04:11 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-06-01 14:22:48 +0200
commit48b8c4ae5f2fd5cb8d0933c619e4777fdc89228d (patch)
tree95e28e93cc9914019a2629154440ad87eedaa4c3 /lib/crypto-api.c
parent3fa64d9b9821d12d69033b5889281f39aa6e6b92 (diff)
downloadgnutls-48b8c4ae5f2fd5cb8d0933c619e4777fdc89228d.tar.gz
documented usage of gnutls_cipher_add_auth().
Diffstat (limited to 'lib/crypto-api.c')
-rw-r--r--lib/crypto-api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/crypto-api.c b/lib/crypto-api.c
index 84a2419622..5e3f5c7fdc 100644
--- a/lib/crypto-api.c
+++ b/lib/crypto-api.c
@@ -95,8 +95,8 @@ gnutls_cipher_tag (gnutls_cipher_hd_t handle, void *tag, size_t tag_size)
*
* This function operates on authenticated encryption with
* associated data (AEAD) ciphers and authenticate the
- * input data. This function can only be called before
- * encryption operations.
+ * input data. This function can only be called once
+ * and before any encryption operations.
*
* Returns: Zero or a negative value on error.
*