summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-07-10 12:17:07 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-07-10 12:17:07 +0200
commitd0606aed5686d9a3e671872506bfe26869b63017 (patch)
tree42fb870e837409a5d5a42e34e032316941785d00
parent03b30569eaea0075cbf3f6c349dc6680bfab1af6 (diff)
downloadgnutls-d0606aed5686d9a3e671872506bfe26869b63017.tar.gz
doc update
-rw-r--r--lib/algorithms/mac.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/algorithms/mac.c b/lib/algorithms/mac.c
index fdc27d8979..a2fc83688d 100644
--- a/lib/algorithms/mac.c
+++ b/lib/algorithms/mac.c
@@ -211,10 +211,7 @@ gnutls_mac_get_nonce_size (gnutls_mac_algorithm_t algorithm)
* gnutls_mac_list:
*
* Get a list of hash algorithms for use as MACs. Note that not
- * necessarily all MACs are supported in TLS cipher suites. For
- * example, MD2 is not supported as a cipher suite, but is supported
- * for other purposes (e.g., X.509 signature verification or similar).
- *
+ * necessarily all MACs are supported in TLS cipher suites.
* This function is not thread safe.
*
* Returns: Return a (0)-terminated list of #gnutls_mac_algorithm_t
@@ -242,15 +239,12 @@ static gnutls_mac_algorithm_t supported_macs[MAX_ALGOS] = { 0 };
/**
* gnutls_digest_list:
*
- * Get a list of hash algorithms for use as MACs. Note that not
- * necessarily all MACs are supported in TLS cipher suites. For
- * example, MD2 is not supported as a cipher suite, but is supported
- * for other purposes (e.g., X.509 signature verification or similar).
+ * Get a list of hash (digest) algorithms supported by GnuTLS.
*
* This function is not thread safe.
*
* Returns: Return a (0)-terminated list of #gnutls_digest_algorithm_t
- * integers indicating the available MACs.
+ * integers indicating the available digests.
**/
const gnutls_digest_algorithm_t *
gnutls_digest_list (void)