Home
last modified time | relevance | path

Searched refs:in_size (Results 1 – 11 of 11) sorted by relevance

/trusted-firmware-m-3.7.0/secure_fw/partitions/platform/
Dplatform_sp.c92 while ((in_len > 0) && (msg->in_size[in_len - 1] == 0)) { in platform_sp_nv_read_psa_api()
101 if (msg->in_size[0] != NV_COUNTER_ID_SIZE || in platform_sp_nv_read_psa_api()
107 num = psa_read(msg->handle, 0, &counter_id, msg->in_size[0]); in platform_sp_nv_read_psa_api()
141 while ((in_len > 0) && (msg->in_size[in_len - 1] == 0)) { in platform_sp_nv_increment_psa_api()
150 if (msg->in_size[0] != NV_COUNTER_ID_SIZE || in platform_sp_nv_increment_psa_api()
155 num = psa_read(msg->handle, 0, &counter_id, msg->in_size[0]); in platform_sp_nv_increment_psa_api()
194 while ((in_len > 0) && (msg->in_size[in_len - 1] == 0)) { in platform_sp_ioctl_psa_api()
213 input_size = msg->in_size[1]; in platform_sp_ioctl_psa_api()
217 num = psa_read(msg->handle, 1, &input_buffer, msg->in_size[1]); in platform_sp_ioctl_psa_api()
/trusted-firmware-m-3.7.0/secure_fw/partitions/protected_storage/
Dtfm_ps_req_mngr.c32 if (msg->in_size[0] != sizeof(uid) || in tfm_ps_set_req()
33 msg->in_size[2] != sizeof(create_flags)) { in tfm_ps_set_req()
48 return tfm_ps_set(client_id, uid, msg->in_size[1], create_flags); in tfm_ps_set_req()
58 if (msg->in_size[0] != sizeof(uid) || in tfm_ps_get_req()
59 msg->in_size[1] != sizeof(data_offset)) { in tfm_ps_get_req()
86 if (msg->in_size[0] != sizeof(uid) || in tfm_ps_get_info_req()
110 if (msg->in_size[0] != sizeof(uid)) { in tfm_ps_remove_req()
/trusted-firmware-m-3.7.0/secure_fw/partitions/internal_trusted_storage/
Dtfm_its_req_mngr.c35 if (msg->in_size[0] != sizeof(uid) || in tfm_its_set_req()
36 msg->in_size[2] != sizeof(create_flags)) { in tfm_its_set_req()
50 data_length = msg->in_size[1]; in tfm_its_set_req()
72 if (msg->in_size[0] != sizeof(uid) || in tfm_its_get_req()
73 msg->in_size[1] != sizeof(data_offset)) { in tfm_its_get_req()
113 if (msg->in_size[0] != sizeof(uid) || in tfm_its_get_info_req()
137 if (msg->in_size[0] != sizeof(uid)) { in tfm_its_remove_req()
/trusted-firmware-m-3.7.0/secure_fw/partitions/firmware_update/
Dtfm_fwu_req_mngr.c52 if (msg->in_size[0] != sizeof(component)) { in tfm_fwu_start()
55 if (msg->in_size[1] > TFM_CONFIG_FWU_MAX_MANIFEST_SIZE) { in tfm_fwu_start()
63 manifest_size = msg->in_size[1]; in tfm_fwu_start()
113 if (msg->in_size[2] > PSA_FWU_MAX_WRITE_SIZE) { in tfm_fwu_write()
116 block_size = msg->in_size[2]; in tfm_fwu_write()
118 if (msg->in_size[0] != sizeof(component) || in tfm_fwu_write()
119 msg->in_size[1] != sizeof(image_offset)) { in tfm_fwu_write()
171 if (msg->in_size[0] != sizeof(component)) { in tfm_fwu_finish()
264 if (msg->in_size[0] != sizeof(component) || in tfm_fwu_query()
364 if (msg->in_size[0] != sizeof(error)) { in tfm_fwu_reject()
[all …]
/trusted-firmware-m-3.7.0/secure_fw/partitions/initial_attestation/
Dtfm_attest_req_mngr.c39 challenge_size = msg->in_size[0]; in psa_attest_get_token()
73 challenge_size = msg->in_size[0]; in psa_attest_get_token()
107 if (msg->in_size[0] != sizeof(challenge_size) in psa_attest_get_token_size()
116 &challenge_size, msg->in_size[0]); in psa_attest_get_token_size()
/trusted-firmware-m-3.7.0/secure_fw/spm/core/
Dpsa_call_api.c108 spm_memset(p_connection->msg.in_size, 0, sizeof(p_connection->msg.in_size)); in spm_associate_call_params()
123 p_connection->msg.in_size[i] = ivecs_local[i].len; in spm_associate_call_params()
Dpsa_read_write_skip_api.c57 remaining = handle->msg.in_size[invec_idx] - handle->invec_accessed[invec_idx]; in tfm_spm_partition_psa_read()
125 remaining = handle->msg.in_size[invec_idx] - handle->invec_accessed[invec_idx]; in tfm_spm_partition_psa_skip()
Dpsa_mmiovec_api.c56 if (handle->msg.in_size[invec_idx] == 0) { in tfm_spm_partition_psa_map_invec()
82 handle->msg.in_size[invec_idx], TFM_HAL_ACCESS_READABLE); in tfm_spm_partition_psa_map_invec()
/trusted-firmware-m-3.7.0/secure_fw/partitions/crypto/
Dcrypto_init.c70 in_vec[i].len = msg->in_size[i]; in tfm_crypto_init_iovecs()
162 status = tfm_crypto_alloc_scratch(msg->in_size[i], &alloc_buf_ptr); in tfm_crypto_init_iovecs()
169 psa_read(msg->handle, i, alloc_buf_ptr, msg->in_size[i]); in tfm_crypto_init_iovecs()
199 while ((in_len > 0) && (msg->in_size[in_len - 1] == 0)) { in tfm_crypto_call_srv()
/trusted-firmware-m-3.7.0/interface/include/psa/
Dservice.h90 size_t in_size[PSA_MAX_IOVEC]; /* Provide the size of each client input member
/trusted-firmware-m-3.7.0/docs/integration_guide/services/
Dtfm_secure_partition_addition.rst558 if (msg.in_size[i] != 0) {
619 if (msg->in_size[i] != 0) {