Home
last modified time | relevance | path

Searched refs:out_size (Results 1 – 18 of 18) sorted by relevance

/trusted-firmware-m-3.4.0/secure_fw/partitions/protected_storage/
Dtfm_ps_req_mngr.c75 return tfm_ps_get(msg->client_id, uid, data_offset, msg->out_size[0], in tfm_ps_get_req()
88 msg->out_size[0] != sizeof(info)) { in tfm_ps_get_info_req()
126 size_t out_size; in tfm_ps_get_support_req() local
129 out_size = msg->out_size[0]; in tfm_ps_get_support_req()
130 if (out_size != sizeof(support_flags)) { in tfm_ps_get_support_req()
136 psa_write(msg->handle, 0, &support_flags, out_size); in tfm_ps_get_support_req()
/trusted-firmware-m-3.4.0/secure_fw/partitions/internal_trusted_storage/
Dtfm_its_req_mngr.c106 size_t out_size; in tfm_its_get_req() local
130 out_size = msg->out_size[0]; in tfm_its_get_req()
134 size_to_read = msg->out_size[0]; in tfm_its_get_req()
151 size_to_read = ITS_UTILS_MIN(out_size, sizeof(asset_data)); in tfm_its_get_req()
165 out_size -= size_read; in tfm_its_get_req()
167 } while (out_size > 0); in tfm_its_get_req()
181 msg->out_size[0] != sizeof(info)) { in tfm_its_get_info_req()
/trusted-firmware-m-3.4.0/secure_fw/partitions/platform/
Dplatform_sp.c96 while ((out_len > 0) && (msg->out_size[out_len - 1] == 0)) { in platform_sp_nv_read_psa_api()
119 err = tfm_plat_read_nv_counter(counter_id, msg->out_size[0], in platform_sp_nv_read_psa_api()
126 psa_write(msg->handle, 0, &counter_val, msg->out_size[0]); in platform_sp_nv_read_psa_api()
144 while ((out_len > 0) && (msg->out_size[out_len - 1] == 0)) { in platform_sp_nv_increment_psa_api()
196 while ((out_len > 0) && (msg->out_size[out_len - 1] == 0)) { in platform_sp_ioctl_psa_api()
225 if (msg->out_size[0] > PLATFORM_SERVICE_OUTPUT_BUFFER_SIZE) { in platform_sp_ioctl_psa_api()
229 outvec.len = msg->out_size[0]; in platform_sp_ioctl_psa_api()
/trusted-firmware-m-3.4.0/secure_fw/partitions/initial_attestation/
Dtfm_attest_req_mngr.c39 token_buff_size = msg->out_size[0]; in psa_attest_get_token()
75 token_buff_size = msg->out_size[0] < sizeof(token_buff) ? in psa_attest_get_token()
76 msg->out_size[0] : sizeof(token_buff); in psa_attest_get_token()
109 || msg->out_size[0] != sizeof(token_size)) { in psa_attest_get_token_size()
/trusted-firmware-m-3.4.0/secure_fw/partitions/protected_storage/crypto/
Dps_crypto_interface.h81 size_t out_size,
104 size_t out_size,
Dps_crypto_interface.c193 size_t out_size, in ps_crypto_encrypt_and_tag() argument
202 out, out_size, out_len); in ps_crypto_encrypt_and_tag()
220 size_t out_size, in ps_crypto_auth_and_decrypt() argument
233 out, out_size, out_len); in ps_crypto_auth_and_decrypt()
/trusted-firmware-m-3.4.0/secure_fw/partitions/crypto/
Dcrypto_init.c87 out_vec[i].len = msg->out_size[i]; in tfm_crypto_init_iovecs()
184 status = tfm_crypto_alloc_scratch(msg->out_size[i], &alloc_buf_ptr); in tfm_crypto_init_iovecs()
191 out_vec[i].len = msg->out_size[i]; in tfm_crypto_init_iovecs()
212 while ((out_len > 0) && (msg->out_size[out_len - 1] == 0)) { in tfm_crypto_call_srv()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/rss/common/rss_comms/
Drss_comms_protocol_pointer_access.h29 uint32_t out_size[PSA_MAX_IOVEC]; variable
Drss_comms_protocol_embed.h29 uint16_t out_size[PSA_MAX_IOVEC]; variable
Drss_comms_protocol_embed.c86 reply->out_size[i] = len; in rss_protocol_embed_serialize_reply()
Drss_comms_protocol_pointer_access.c111 reply->out_size[idx] = req->out_vec[idx].len; in rss_protocol_pointer_access_serialize_reply()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/
Dcc3xx_internal_chacha20_poly1305.c145 size_t out_size = 0; in cc3xx_chacha20_poly1305_gen_otk() local
169 &out_size); in cc3xx_chacha20_poly1305_gen_otk()
174 if (out_size < 32) { in cc3xx_chacha20_poly1305_gen_otk()
/trusted-firmware-m-3.4.0/interface/include/psa/
Dservice.h90 size_t out_size[PSA_MAX_IOVEC];/* Provide the size of each client output member
/trusted-firmware-m-3.4.0/secure_fw/spm/cmsis_psa/
Dspm_ipc.c394 conn_handle->msg.out_size[i] = outvec[i].len; in spm_fill_message()
512 if (handle->msg.out_size[i] == 0) { in update_caller_outvec_len()
/trusted-firmware-m-3.4.0/secure_fw/spm/ffm/
Dpsa_api.c710 if (num_bytes > handle->msg.out_size[outvec_idx] - in tfm_spm_partition_psa_write()
1209 if (handle->msg.out_size[outvec_idx] == 0) { in tfm_spm_partition_psa_map_outvec()
1281 if (len > handle->msg.out_size[outvec_idx]) { in tfm_spm_partition_psa_unmap_outvec()
/trusted-firmware-m-3.4.0/secure_fw/partitions/firmware_update/
Dtfm_fwu_req_mngr.c266 msg->out_size[0] != sizeof(psa_fwu_component_info_t)) { in tfm_fwu_query()
/trusted-firmware-m-3.4.0/docs/technical_references/design_docs/
Dps_key_management.rst114 out, out_size, out_len);
/trusted-firmware-m-3.4.0/docs/integration_guide/services/
Dtfm_secure_partition_addition.rst445 if (msg.out_size[i] != 0) {
500 if (msg.->out_size[i] != 0) {