Update a function's doxygen
There was two versions of this function with different arguments. Update
the documentation to match the signature of the function we kept.
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
diff --git a/library/ssl_misc.h b/library/ssl_misc.h
index 3d2fc01..2085e2d 100644
--- a/library/ssl_misc.h
+++ b/library/ssl_misc.h
@@ -2867,12 +2867,9 @@
* max_data_len. In particular, this function always reads exactly \p
* max_data_len bytes from \p data.
*
- * \param ctx The HMAC context. It must have keys configured
- * with mbedtls_md_hmac_starts() and use one of the
- * following hashes: SHA-384, SHA-256, SHA-1 or MD-5.
- * It is reset using mbedtls_md_hmac_reset() after
- * the computation is complete to prepare for the
- * next computation.
+ * \param key The HMAC key.
+ * \param mac_alg The hash algorithm.
+ * Must be one of SHA-384, SHA-256, SHA-1 or MD-5.
* \param add_data The first part of the message whose HMAC is being
* calculated. This must point to a readable buffer
* of \p add_data_len bytes.