From 8e1f0d0d315242103b70e297de9bf419c853969b 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 91d2059e8..1e39e3264 100644 --- a/library/psa_crypto_core.h +++ b/library/psa_crypto_core.h @@ -522,12 +522,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