mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-23 17:21:09 +00:00
Fix parameter name in Doxygen documentation
This commit is contained in:
parent
7ed29c56f1
commit
ea4469f8d1
|
@ -574,11 +574,12 @@ typedef uint32_t psa_algorithm_t;
|
||||||
*
|
*
|
||||||
* For example, `PSA_ALG_HMAC(PSA_ALG_SHA256)` is HMAC-SHA-256.
|
* 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).
|
* #PSA_ALG_IS_HASH(alg) is true).
|
||||||
*
|
*
|
||||||
* \return The corresponding HMAC algorithm.
|
* \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) \
|
#define PSA_ALG_HMAC(hash_alg) \
|
||||||
(PSA_ALG_HMAC_BASE | ((hash_alg) & PSA_ALG_HASH_MASK))
|
(PSA_ALG_HMAC_BASE | ((hash_alg) & PSA_ALG_HASH_MASK))
|
||||||
|
|
Loading…
Reference in a new issue