From a575a5a26ad206b5c35f80ffbcb2fe8ddb54abcc Mon Sep 17 00:00:00 2001 From: David Horstmann Date: Thu, 23 Nov 2023 15:59:30 +0000 Subject: [PATCH] Improve description of psa_crypto_input_copy_alloc Signed-off-by: David Horstmann --- library/psa_crypto_core.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/psa_crypto_core.h b/library/psa_crypto_core.h index 3d7198ac47..87b0035521 100644 --- a/library/psa_crypto_core.h +++ b/library/psa_crypto_core.h @@ -861,12 +861,12 @@ typedef struct psa_crypto_local_input_s { #define PSA_CRYPTO_LOCAL_INPUT_INIT ((psa_crypto_local_input_t) { NULL, 0 }) -/** Allocate a local copy of an input buffer. +/** Allocate a local copy of an input buffer and copy the contents into it. * * \param[in] input Pointer to input buffer. * \param[in] input_len Length of the input buffer. - * \param[out] local_input Pointer to a psa_crypto_local_input_t struct to - * populate with the local input copy. + * \param[out] local_input Pointer to a psa_crypto_local_input_t struct + * containing a local input copy. * \return #PSA_SUCCESS, if the buffer was successfully * copied. * \return #PSA_ERROR_INSUFFICIENT_MEMORY, if a copy of