Skip to content

Commit 9588982

Browse files
Michael Schwarczadbridge
Michael Schwarcz
authored andcommitted
TF-M patch: Fix tfm_psa_call_venner wrong argument type (TF-M issue #241)
- Link to bug tracking: https://developer.trustedfirmware.org/T241 (cherry picked from commit da01e34)
1 parent 4dec7f7 commit 9588982

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/TARGET_PSA/TARGET_TFM/COMPONENT_SPE/secure_fw/core/tfm_psa_api_client.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ psa_handle_t tfm_psa_connect_veneer(uint32_t sid, uint32_t minor_version)
9999
__tfm_secure_gateway_attributes__
100100
psa_status_t tfm_psa_call_veneer(psa_handle_t handle,
101101
const psa_invec *in_vecs,
102-
const psa_invec *out_vecs)
102+
psa_outvec *out_vecs)
103103
{
104104
TFM_CORE_NS_IPC_REQUEST_VENEER(tfm_svcall_psa_call, handle, in_vecs,
105105
out_vecs, 0);

components/TARGET_PSA/TARGET_TFM/interface/include/tfm_api.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,13 @@ psa_handle_t tfm_psa_connect_veneer(uint32_t sid, uint32_t minor_version);
110110
*
111111
* \param[in] handle Handle to connection
112112
* \param[in] in_vecs invec containing pointer/count of input vectors
113-
* \param[in] out_vecs invec containing pointer/count of output vectors
113+
* \param[in] out_vecs outvec containing pointer/count of output vectors
114114
*
115115
* \return Returns \ref psa_status_t status code
116116
*/
117117
psa_status_t tfm_psa_call_veneer(psa_handle_t handle,
118118
const psa_invec *in_vecs,
119-
const psa_invec *out_vecs);
119+
psa_outvec *out_vecs);
120120

121121
/**
122122
* \brief Close connection to secure function referenced by a connection handle

0 commit comments

Comments
 (0)