27 __tfm_psa_secure_gateway_attributes__
30 __ASM
volatile(
"SVC %0 \n"
32 : :
"I" (TFM_SVC_PSA_FRAMEWORK_VERSION));
35 __tfm_psa_secure_gateway_attributes__
38 __ASM
volatile(
"SVC %0 \n"
40 : :
"I" (TFM_SVC_PSA_VERSION));
43 __tfm_psa_secure_gateway_attributes__
46 __ASM
volatile(
"SVC %0 \n"
48 : :
"I" (TFM_SVC_PSA_CONNECT));
51 __tfm_psa_secure_gateway_attributes__
57 __ASM
volatile(
"SVC %0 \n"
59 : :
"I" (TFM_SVC_PSA_CALL));
62 __tfm_psa_secure_gateway_attributes__
65 __ASM
volatile(
"SVC %0 \n"
67 : :
"I" (TFM_SVC_PSA_CLOSE));
__tfm_psa_secure_gateway_attributes__ uint32_t tfm_psa_version_veneer(uint32_t sid)
Return version of secure function provided by secure binary.
__tfm_psa_secure_gateway_attributes__ 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.
__tfm_psa_secure_gateway_attributes__ void tfm_psa_close_veneer(psa_handle_t handle)
Close connection to secure function referenced by a connection handle.
__tfm_psa_secure_gateway_attributes__ psa_handle_t tfm_psa_connect_veneer(uint32_t sid, uint32_t version)
Connect to secure function.
__tfm_psa_secure_gateway_attributes__ 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.