18 #define TFM_INVALID_CLIENT_ID 0
28 #define TFM_CLIENT_ID_IS_S(client_id) ((client_id)>0)
38 #define TFM_CLIENT_ID_IS_NS(client_id) ((client_id)<0)
41 #define PSA_TIMEOUT_MASK PSA_BLOCK
uint32_t tfm_psa_version_veneer(uint32_t sid)
Return version of secure function provided by secure binary.
void tfm_psa_close_veneer(psa_handle_t handle)
Close connection to secure function referenced by a connection handle.
psa_status_t tfm_psa_call_veneer(psa_handle_t handle, const struct tfm_control_parameter_t *ctrl_param, const psa_invec *in_vec, psa_outvec *out_vec)
Call a secure function referenced by a connection handle.
psa_handle_t tfm_psa_connect_veneer(uint32_t sid, uint32_t version)
Connect to secure function.
uint32_t tfm_psa_framework_version_veneer(void)
Retrieve the version of the PSA Framework API that is implemented.
int32_t psa_status_t
Function return status.
enum tfm_status_e tfm_register_client_id(int32_t ns_client_id)
Assign client ID to the current TZ context.