Home
last modified time | relevance | path

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

/trusted-firmware-m-3.7.0/secure_fw/partitions/protected_storage/
Dtfm_ps_req_mngr.c74 return tfm_ps_get(msg->client_id, uid, data_offset, msg->out_size[0], in tfm_ps_get_req()
87 msg->out_size[0] != sizeof(info)) { in tfm_ps_get_info_req()
125 size_t out_size; in tfm_ps_get_support_req() local
128 out_size = msg->out_size[0]; in tfm_ps_get_support_req()
129 if (out_size != sizeof(support_flags)) { in tfm_ps_get_support_req()
135 psa_write(msg->handle, 0, &support_flags, out_size); in tfm_ps_get_support_req()
/trusted-firmware-m-3.7.0/secure_fw/partitions/platform/
Dplatform_sp.c97 while ((out_len > 0) && (msg->out_size[out_len - 1] == 0)) { in platform_sp_nv_read_psa_api()
102 msg->out_size[0] > NV_COUNTER_SIZE || in platform_sp_nv_read_psa_api()
121 err = tfm_plat_read_nv_counter(counter_id, msg->out_size[0], in platform_sp_nv_read_psa_api()
128 psa_write(msg->handle, 0, counter_val, msg->out_size[0]); in platform_sp_nv_read_psa_api()
146 while ((out_len > 0) && (msg->out_size[out_len - 1] == 0)) { in platform_sp_nv_increment_psa_api()
198 while ((out_len > 0) && (msg->out_size[out_len - 1] == 0)) { in platform_sp_ioctl_psa_api()
227 if (msg->out_size[0] > PLATFORM_SERVICE_OUTPUT_BUFFER_SIZE) { in platform_sp_ioctl_psa_api()
231 outvec.len = msg->out_size[0]; in platform_sp_ioctl_psa_api()
/trusted-firmware-m-3.7.0/secure_fw/partitions/initial_attestation/
Dtfm_attest_req_mngr.c38 token_buff_size = msg->out_size[0]; in psa_attest_get_token()
74 token_buff_size = msg->out_size[0] < sizeof(token_buff) ? in psa_attest_get_token()
75 msg->out_size[0] : sizeof(token_buff); in psa_attest_get_token()
108 || msg->out_size[0] != sizeof(token_size)) { in psa_attest_get_token_size()
/trusted-firmware-m-3.7.0/interface/include/mbedtls/
Dnist_kw.h122 unsigned char *output, size_t *out_len, size_t out_size);
149 unsigned char *output, size_t *out_len, size_t out_size);
/trusted-firmware-m-3.7.0/secure_fw/partitions/protected_storage/crypto/
Dps_crypto_interface.h81 size_t out_size,
104 size_t out_size,
Dps_crypto_interface.c197 size_t out_size, in ps_crypto_encrypt_and_tag() argument
206 out, out_size, out_len); in ps_crypto_encrypt_and_tag()
224 size_t out_size, in ps_crypto_auth_and_decrypt() argument
237 out, out_size, out_len); in ps_crypto_auth_and_decrypt()
/trusted-firmware-m-3.7.0/secure_fw/spm/core/
Dpsa_mmiovec_api.c186 if (handle->msg.out_size[outvec_idx] == 0) { in tfm_spm_partition_psa_map_outvec()
211 handle->msg.out_size[outvec_idx], TFM_HAL_ACCESS_READWRITE); in tfm_spm_partition_psa_map_outvec()
258 if (len > handle->msg.out_size[outvec_idx]) { in tfm_spm_partition_psa_unmap_outvec()
Dpsa_call_api.c109 spm_memset(p_connection->msg.out_size, 0, sizeof(p_connection->msg.out_size)); in spm_associate_call_params()
146 p_connection->msg.out_size[i] = ovecs_local[i].len; in spm_associate_call_params()
Dpsa_read_write_skip_api.c178 if (num_bytes > handle->msg.out_size[outvec_idx] - handle->outvec_written[outvec_idx]) { in tfm_spm_partition_psa_write()
Dspm_ipc.c409 if (handle->msg.out_size[i] == 0) { in update_caller_outvec_len()
/trusted-firmware-m-3.7.0/secure_fw/partitions/crypto/
Dcrypto_init.c79 out_vec[i].len = msg->out_size[i]; in tfm_crypto_init_iovecs()
176 status = tfm_crypto_alloc_scratch(msg->out_size[i], &alloc_buf_ptr); in tfm_crypto_init_iovecs()
183 out_vec[i].len = msg->out_size[i]; in tfm_crypto_init_iovecs()
204 while ((out_len > 0) && (msg->out_size[out_len - 1] == 0)) { in tfm_crypto_call_srv()
/trusted-firmware-m-3.7.0/platform/ext/target/arm/rse/common/rse_comms/
Drse_comms_protocol_pointer_access.h29 uint32_t out_size[PSA_MAX_IOVEC]; variable
Drse_comms_protocol_embed.h29 uint16_t out_size[PSA_MAX_IOVEC]; variable
Drse_comms_protocol_embed.c86 reply->out_size[i] = len; in rse_protocol_embed_serialize_reply()
Drse_comms_protocol_pointer_access.c114 reply->out_size[idx] = req->out_vec[idx].len; in rse_protocol_pointer_access_serialize_reply()
/trusted-firmware-m-3.7.0/platform/ext/target/arm/corstone1000/rse_comms/
Drse_comms_protocol_embed.h29 uint16_t out_size[PSA_MAX_IOVEC]; variable
Drse_comms_protocol_embed.c86 reply->out_size[i] = len; in rse_protocol_embed_serialize_reply()
/trusted-firmware-m-3.7.0/secure_fw/partitions/internal_trusted_storage/
Dtfm_its_req_mngr.c87 data_size = msg->out_size[0]; in tfm_its_get_req()
114 msg->out_size[0] != sizeof(info)) { in tfm_its_get_info_req()
/trusted-firmware-m-3.7.0/docs/platform/arm/rse/
Drse_comms.rst89 uint16_t out_size[PSA_MAX_IOVEC];
94 ``out_size`` is the (potentially updated) sizes of the outvecs and the
123 uint32_t out_size[PSA_MAX_IOVEC];
126 The ``return_val`` and ``out_size`` have the same meaning as in the embed
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/
Dcc3xx_internal_chacha20_poly1305.c144 size_t out_size = 0; in cc3xx_chacha20_poly1305_gen_otk() local
168 &out_size); in cc3xx_chacha20_poly1305_gen_otk()
173 if (out_size < 32) { in cc3xx_chacha20_poly1305_gen_otk()
/trusted-firmware-m-3.7.0/interface/include/psa/
Dservice.h93 size_t out_size[PSA_MAX_IOVEC];/* Provide the size of each client output member
/trusted-firmware-m-3.7.0/secure_fw/partitions/firmware_update/
Dtfm_fwu_req_mngr.c265 msg->out_size[0] != sizeof(psa_fwu_component_info_t)) { in tfm_fwu_query()
/trusted-firmware-m-3.7.0/docs/design_docs/services/
Dps_key_management.rst114 out, out_size, out_len);
/trusted-firmware-m-3.7.0/docs/integration_guide/services/
Dtfm_secure_partition_addition.rst561 if (msg.out_size[i] != 0) {
622 if (msg.->out_size[i] != 0) {