13 __attribute__((naked))
16 __ASM
volatile(
"SVC %0 \n"
18 : :
"I" (TFM_SVC_PSA_FRAMEWORK_VERSION));
21 __attribute__((naked))
24 __ASM
volatile(
"SVC %0 \n"
26 : :
"I" (TFM_SVC_PSA_VERSION));
29 __attribute__((naked))
32 __ASM
volatile(
"SVC %0 \n"
34 : :
"I" (TFM_SVC_PSA_CONNECT));
37 __attribute__((naked))
42 __ASM
volatile(
"SVC %0 \n"
44 : :
"I" (TFM_SVC_PSA_CALL));
59 return psa_call_param_pack(handle, &ctrl_param, in_vec, out_vec);
62 __attribute__((naked))
65 __ASM
volatile(
"SVC %0 \n"
67 : :
"I" (TFM_SVC_PSA_CLOSE));
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.
void psa_close(psa_handle_t handle)
Close a connection to an RoT Service.
uint32_t psa_version(uint32_t sid)
Retrieve the version of an RoT Service or indicate that it is not present on this system...
psa_handle_t psa_connect(uint32_t sid, uint32_t version)
Connect to an RoT Service by its SID.
uint32_t psa_framework_version(void)
Retrieve the version of the PSA Framework API that is implemented.
int32_t psa_status_t
Function return status.