From d338b9117490628efed5b092f1aa2c2232ae1375 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Fri, 15 Feb 2019 13:01:41 +0100 Subject: [PATCH] Fix some copypasta in one-shot hash and MAC function descriptions --- include/psa/crypto.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/include/psa/crypto.h b/include/psa/crypto.h index 6f74ba758..dd4599687 100644 --- a/include/psa/crypto.h +++ b/include/psa/crypto.h @@ -830,8 +830,7 @@ psa_status_t psa_copy_key(psa_key_handle_t source_handle, * \param hash_size Size of the \p hash buffer in bytes. * \param[out] hash_length On success, the number of bytes * that make up the hash value. This is always - * #PSA_HASH_SIZE(\c alg) where \c alg is the - * hash algorithm that is calculated. + * #PSA_HASH_SIZE(\p alg). * * \retval #PSA_SUCCESS * Success. @@ -1145,9 +1144,7 @@ psa_status_t psa_hash_clone(const psa_hash_operation_t *source_operation, * \param[out] mac Buffer where the MAC value is to be written. * \param mac_size Size of the \p mac buffer in bytes. * \param[out] mac_length On success, the number of bytes - * that make up the mac value. This is always - * #PSA_HASH_SIZE(\c alg) where \c alg is the - * hash algorithm that is calculated. + * that make up the MAC value. * * \retval #PSA_SUCCESS * Success.