17 __attribute__((section(
"SFN")))
25 { .
base = arg, .len = arg_len },
34 status =
psa_call(handle,
id, in_vec, 1, NULL, 0);
41 { .
base = &id, .len =
sizeof(id) },
42 { .base = arg, .len = arg_len },
45 return tfm_tfm_secure_client_2_call_veneer(in_vec, 2, NULL, 0);
psa_status_t tfm_secure_client_2_call_test(int32_t id, const void *arg, size_t arg_len)
Calls the test function with the supplied ID within the execution context of the Secure Client 2 part...
void psa_close(psa_handle_t handle)
Close a connection to an RoT Service.
#define TFM_SECURE_CLIENT_2_VERSION
#define PSA_ERROR_GENERIC_ERROR
psa_handle_t psa_connect(uint32_t sid, uint32_t version)
Connect to an RoT Service by its SID.
#define PSA_HANDLE_IS_VALID(handle)
#define TFM_SECURE_CLIENT_2_SID
int32_t psa_status_t
Function return status.
psa_status_t psa_call(psa_handle_t handle, int32_t type, const psa_invec *in_vec, size_t in_len, psa_outvec *out_vec, size_t out_len)
Call an RoT Service on an established connection.