mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-05 19:35:48 +03:00
Fix some copypasta in one-shot hash and MAC function descriptions
This commit is contained in:
@@ -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 hash_size Size of the \p hash buffer in bytes.
|
||||||
* \param[out] hash_length On success, the number of bytes
|
* \param[out] hash_length On success, the number of bytes
|
||||||
* that make up the hash value. This is always
|
* that make up the hash value. This is always
|
||||||
* #PSA_HASH_SIZE(\c alg) where \c alg is the
|
* #PSA_HASH_SIZE(\p alg).
|
||||||
* hash algorithm that is calculated.
|
|
||||||
*
|
*
|
||||||
* \retval #PSA_SUCCESS
|
* \retval #PSA_SUCCESS
|
||||||
* 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[out] mac Buffer where the MAC value is to be written.
|
||||||
* \param mac_size Size of the \p mac buffer in bytes.
|
* \param mac_size Size of the \p mac buffer in bytes.
|
||||||
* \param[out] mac_length On success, the number of bytes
|
* \param[out] mac_length On success, the number of bytes
|
||||||
* that make up the mac value. This is always
|
* that make up the MAC value.
|
||||||
* #PSA_HASH_SIZE(\c alg) where \c alg is the
|
|
||||||
* hash algorithm that is calculated.
|
|
||||||
*
|
*
|
||||||
* \retval #PSA_SUCCESS
|
* \retval #PSA_SUCCESS
|
||||||
* Success.
|
* Success.
|
||||||
|
Reference in New Issue
Block a user