Fix Documentation issue in mbedtls_psa_key_agreement_iop_setup()
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
diff --git a/tf-psa-crypto/core/psa_crypto_core.h b/tf-psa-crypto/core/psa_crypto_core.h
index ea30bf1..d775761 100644
--- a/tf-psa-crypto/core/psa_crypto_core.h
+++ b/tf-psa-crypto/core/psa_crypto_core.h
@@ -727,6 +727,8 @@
*
* \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 @@
* 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