1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Rename PSA_ALG_HMAC_HASH to PSA_ALG_HMAC_GET_HASH

Be consistent with other GET_HASH macros.
This commit is contained in:
Gilles Peskine
2018-08-22 18:25:41 +02:00
parent 9df2dc87ab
commit 00709fafb8
3 changed files with 19 additions and 19 deletions

View File

@ -160,7 +160,7 @@
* with the algorithm.
*/
#define PSA_MAC_FINAL_SIZE(key_type, key_bits, alg) \
(PSA_ALG_IS_HMAC(alg) ? PSA_HASH_SIZE(PSA_ALG_HMAC_HASH(alg)) : \
(PSA_ALG_IS_HMAC(alg) ? PSA_HASH_SIZE(PSA_ALG_HMAC_GET_HASH(alg)) : \
PSA_ALG_IS_BLOCK_CIPHER_MAC(alg) ? PSA_BLOCK_CIPHER_BLOCK_SIZE(key_type) : \
0)