Fix parameter name in Doxygen documentation

This commit is contained in:
Gilles Peskine 2018-06-28 13:57:23 +02:00 committed by itayzafrir
parent 7ed29c56f1
commit ea4469f8d1

View File

@ -574,11 +574,12 @@ typedef uint32_t psa_algorithm_t;
*
* For example, `PSA_ALG_HMAC(PSA_ALG_SHA256)` is HMAC-SHA-256.
*
* \param alg A hash algorithm (\c PSA_ALG_XXX value such that
* \param hash_alg A hash algorithm (\c PSA_ALG_XXX value such that
* #PSA_ALG_IS_HASH(alg) is true).
*
* \return The corresponding HMAC algorithm.
* \return Unspecified if \p alg is not a hash algorithm.
* \return Unspecified if \p alg is not a supported
* hash algorithm.
*/
#define PSA_ALG_HMAC(hash_alg) \
(PSA_ALG_HMAC_BASE | ((hash_alg) & PSA_ALG_HASH_MASK))