From 97041ed39998029260f3b91809e0276b84f873f2 Mon Sep 17 00:00:00 2001 From: Waleed Elmelegy Date: Fri, 1 Nov 2024 17:13:38 +0000 Subject: [PATCH] Fix Documentation issue in mbedtls_psa_key_agreement_iop_setup() Signed-off-by: Waleed Elmelegy --- tf-psa-crypto/core/psa_crypto_core.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tf-psa-crypto/core/psa_crypto_core.h b/tf-psa-crypto/core/psa_crypto_core.h index ea30bf1d5e..d775761efa 100644 --- a/tf-psa-crypto/core/psa_crypto_core.h +++ b/tf-psa-crypto/core/psa_crypto_core.h @@ -727,6 +727,8 @@ uint32_t mbedtls_psa_key_agreement_iop_get_num_ops( * * \param[in] operation The \c psa_key_agreement_iop_t to use. * This must be initialized first. + * \param[in] private_key_attributes The attributes of the private key to use for the + * operation. * \param[in] private_key_buffer The buffer containing the private key * context. * \param[in] private_key_buffer_len Size of the \p private_key_buffer buffer in @@ -735,8 +737,6 @@ uint32_t mbedtls_psa_key_agreement_iop_get_num_ops( * of the peer's public key. * \param[in] peer_key_length Size of the \p peer_key buffer in * bytes. - * \param[in] attributes The attributes of the private key to use for the - * operation. * \retval #PSA_SUCCESS * The operation started successfully - call \c psa_key_agreement_complete() * with the same context to complete the operation