]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
doc: correct the description of crypto API functions
authorJiří Klimeš <jklimes@redhat.com>
Fri, 27 Mar 2015 19:00:45 +0000 (20:00 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 28 Mar 2015 11:01:10 +0000 (12:01 +0100)
Signed-off-by: Jiří Klimeš <jklimes@redhat.com>
lib/crypto-api.c

index 554ca29ac244aca63215416adad2a856ca5b93df..30f817085fcd0d0b498e6e71ea59ad049085f2b1 100644 (file)
@@ -38,8 +38,8 @@ typedef struct api_cipher_hd_st {
 /**
  * gnutls_cipher_init:
  * @handle: is a #gnutls_cipher_hd_t type.
- * @cipher: the encryption algorithm to use
- * @key: The key to be used for encryption
+ * @cipher: the cryptographic algorithm to use
+ * @key: The key to be used for encryption/decryption
  * @iv: The IV to use (if not applicable set NULL)
  *
  * This function will initialize an context that can be used for
@@ -340,7 +340,7 @@ gnutls_hmac_init(gnutls_hmac_hd_t * dig,
 
 /**
  * gnutls_hmac_set_nonce:
- * @handle: is a #gnutls_cipher_hd_t type.
+ * @handle: is a #gnutls_hmac_hd_t type.
  * @nonce: the data to set as nonce
  * @nonce_len: The length of data
  *
@@ -357,7 +357,7 @@ gnutls_hmac_set_nonce(gnutls_hmac_hd_t handle, const void *nonce,
 
 /**
  * gnutls_hmac:
- * @handle: is a #gnutls_cipher_hd_t type.
+ * @handle: is a #gnutls_hmac_hd_t type.
  * @ptext: the data to hash
  * @ptext_len: The length of data to hash
  *
@@ -487,7 +487,7 @@ gnutls_hash_init(gnutls_hash_hd_t * dig,
 
 /**
  * gnutls_hash:
- * @handle: is a #gnutls_cipher_hd_t type.
+ * @handle: is a #gnutls_hash_hd_t type.
  * @ptext: the data to hash
  * @ptext_len: The length of data to hash
  *