/**
* gnutls_cipher_init:
- * @handle: is a #gnutls_cipher_hd_t type.
+ * @handle: is a #gnutls_cipher_hd_t type
* @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)
+ * @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
- * encryption/decryption of data. This will effectively use the
+ * This function will initialize the @handle context to be usable
+ * for encryption/decryption of data. This will effectively use the
* current crypto backend in use by gnutls or the cryptographic
* accelerator in use.
*
/**
* gnutls_cipher_tag:
- * @handle: is a #gnutls_cipher_hd_t type.
+ * @handle: is a #gnutls_cipher_hd_t type
* @tag: will hold the tag
- * @tag_size: The length of the tag to return
+ * @tag_size: the length of the tag to return
*
* This function operates on authenticated encryption with
* associated data (AEAD) ciphers and will return the
/**
* gnutls_cipher_add_auth:
- * @handle: is a #gnutls_cipher_hd_t type.
+ * @handle: is a #gnutls_cipher_hd_t type
* @ptext: the data to be authenticated
- * @ptext_size: The length of the data
+ * @ptext_size: the length of the data
*
* This function operates on authenticated encryption with
* associated data (AEAD) ciphers and authenticate the
/**
* gnutls_cipher_set_iv:
- * @handle: is a #gnutls_cipher_hd_t type.
+ * @handle: is a #gnutls_cipher_hd_t type
* @iv: the IV to set
- * @ivlen: The length of the IV
+ * @ivlen: the length of the IV
*
* This function will set the IV to be used for the next
* encryption block.
/**
* gnutls_cipher_encrypt:
- * @handle: is a #gnutls_cipher_hd_t type.
+ * @handle: is a #gnutls_cipher_hd_t type
* @ptext: the data to encrypt
- * @ptext_len: The length of data to encrypt
+ * @ptext_len: the length of data to encrypt
*
* This function will encrypt the given data using the algorithm
* specified by the context.
/**
* gnutls_cipher_decrypt:
- * @handle: is a #gnutls_cipher_hd_t type.
+ * @handle: is a #gnutls_cipher_hd_t type
* @ctext: the data to decrypt
- * @ctext_len: The length of data to decrypt
+ * @ctext_len: the length of data to decrypt
*
* This function will decrypt the given data using the algorithm
* specified by the context.
/**
* gnutls_cipher_encrypt2:
- * @handle: is a #gnutls_cipher_hd_t type.
+ * @handle: is a #gnutls_cipher_hd_t type
* @ptext: the data to encrypt
- * @ptextlen: The length of data to encrypt
+ * @ptextlen: the length of data to encrypt
* @ctext: the encrypted data
- * @ctext_len: The available length for encrypted data
+ * @ctext_len: the available length for encrypted data
*
* This function will encrypt the given data using the algorithm
* specified by the context.
/**
* gnutls_cipher_decrypt2:
- * @handle: is a #gnutls_cipher_hd_t type.
+ * @handle: is a #gnutls_cipher_hd_t type
* @ctext: the data to decrypt
- * @ctext_len: The length of data to decrypt
+ * @ctext_len: the length of data to decrypt
* @ptext: the decrypted data
- * @ptext_len: The available length for decrypted data
+ * @ptext_len: the available length for decrypted data
*
* This function will decrypt the given data using the algorithm
* specified by the context.
/**
* gnutls_cipher_deinit:
- * @handle: is a #gnutls_cipher_hd_t type.
+ * @handle: is a #gnutls_cipher_hd_t type
*
* This function will deinitialize all resources occupied by the given
* encryption context.
/**
* gnutls_hmac_init:
- * @dig: is a #gnutls_hmac_hd_t type.
+ * @dig: is a #gnutls_hmac_hd_t type
* @algorithm: the HMAC algorithm to use
- * @key: The key to be used for encryption
- * @keylen: The length of the key
+ * @key: the key to be used for encryption
+ * @keylen: the length of the key
*
* This function will initialize an context that can be used to
* produce a Message Authentication Code (MAC) of data. This will
/**
* gnutls_hmac_set_nonce:
- * @handle: is a #gnutls_hmac_hd_t type.
+ * @handle: is a #gnutls_hmac_hd_t type
* @nonce: the data to set as nonce
- * @nonce_len: The length of data
+ * @nonce_len: the length of data
*
* This function will set the nonce in the MAC algorithm.
*
/**
* gnutls_hmac:
- * @handle: is a #gnutls_hmac_hd_t type.
+ * @handle: is a #gnutls_hmac_hd_t type
* @ptext: the data to hash
- * @ptext_len: The length of data to hash
+ * @ptext_len: the length of data to hash
*
* This function will hash the given data using the algorithm
* specified by the context.
/**
* gnutls_hmac_output:
- * @handle: is a #gnutls_hmac_hd_t type.
+ * @handle: is a #gnutls_hmac_hd_t type
* @digest: is the output value of the MAC
*
* This function will output the current MAC value
/**
* gnutls_hmac_deinit:
- * @handle: is a #gnutls_hmac_hd_t type.
+ * @handle: is a #gnutls_hmac_hd_t type
* @digest: is the output value of the MAC
*
* This function will deinitialize all resources occupied by
* gnutls_hmac_fast:
* @algorithm: the hash algorithm to use
* @key: the key to use
- * @keylen: The length of the key
+ * @keylen: the length of the key
* @ptext: the data to hash
- * @ptext_len: The length of data to hash
+ * @ptext_len: the length of data to hash
* @digest: is the output value of the hash
*
* This convenience function will hash the given data and return output
/**
* gnutls_hash_init:
- * @dig: is a #gnutls_hash_hd_t type.
+ * @dig: is a #gnutls_hash_hd_t type
* @algorithm: the hash algorithm to use
*
* This function will initialize an context that can be used to
/**
* gnutls_hash:
- * @handle: is a #gnutls_hash_hd_t type.
+ * @handle: is a #gnutls_hash_hd_t type
* @ptext: the data to hash
- * @ptext_len: The length of data to hash
+ * @ptext_len: the length of data to hash
*
* This function will hash the given data using the algorithm
* specified by the context.
/**
* gnutls_hash_output:
- * @handle: is a #gnutls_hash_hd_t type.
+ * @handle: is a #gnutls_hash_hd_t type
* @digest: is the output value of the hash
*
* This function will output the current hash value
/**
* gnutls_hash_deinit:
- * @handle: is a #gnutls_hash_hd_t type.
+ * @handle: is a #gnutls_hash_hd_t type
* @digest: is the output value of the hash
*
* This function will deinitialize all resources occupied by
* gnutls_hash_fast:
* @algorithm: the hash algorithm to use
* @ptext: the data to hash
- * @ptext_len: The length of data to hash
+ * @ptext_len: the length of data to hash
* @digest: is the output value of the hash
*
* This convenience function will hash the given data and return output
/**
* gnutls_key_generate:
* @key: is a pointer to a #gnutls_datum_t which will contain a newly
- * created key.
- * @key_size: The number of bytes of the key.
+ * created key
+ * @key_size: the number of bytes of the key
*
* Generates a random key of @key_size bytes.
*