14 __attribute__((section(
"SFN")))
42 __attribute__((section(
"SFN")))
55 in_vec[0].
base = &req;
56 in_vec[0].
len =
sizeof(req);
58 in_vec[1].
base = input->base;
59 in_vec[1].
len = input->len;
89 in_vec, inlen, output, outlen);
93 __attribute__((section(
"SFN")))
103 in_vec[0].
base = &counter_id;
104 in_vec[0].
len =
sizeof(counter_id);
130 __attribute__((section(
"SFN")))
133 uint32_t size, uint8_t *val)
142 in_vec[0].
base = &counter_id;
143 in_vec[0].
len =
sizeof(counter_id);
145 out_vec[0].
base = val;
146 out_vec[0].
len = size;
156 in_vec, 1, out_vec, 1);
167 in_vec, 1, out_vec, 1);
#define TFM_SP_PLATFORM_IOCTL_SID
#define TFM_SP_PLATFORM_SYSTEM_RESET_VERSION
void psa_close(psa_handle_t handle)
Close a connection to an RoT Service.
psa_handle_t psa_connect(uint32_t sid, uint32_t version)
Connect to an RoT Service by its SID.
#define PSA_ERROR_CONNECTION_REFUSED
#define TFM_SP_PLATFORM_NV_COUNTER_VERSION
#define TFM_SP_PLATFORM_SYSTEM_RESET_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.
#define TFM_SP_PLATFORM_IOCTL_VERSION
#define TFM_SP_PLATFORM_NV_COUNTER_SID