Home
last modified time | relevance | path

Searched refs:in_buf (Results 1 – 14 of 14) sorted by relevance

/optee_os/core/drivers/scmi-msg/
H A Dshm_msg.c44 TEE_Result scmi_entry_msg(unsigned int channel_id, void *in_buf, size_t in_size, in scmi_entry_msg() argument
57 assert(in_buf && out_buf && out_size && sec_buf); in scmi_entry_msg()
61 !IS_ALIGNED_WITH_TYPE(in_buf, uint32_t) || in scmi_entry_msg()
65 in_size, in_buf, *out_size, out_buf); in scmi_entry_msg()
75 hdr = (struct msg_header *)in_buf; in scmi_entry_msg()
H A Dentry.c139 void *in_buf, size_t in_size, in scmi_msg_threaded_entry() argument
144 return scmi_entry_msg(channel_id, in_buf, in_size, out_buf, out_size, in scmi_msg_threaded_entry()
H A Dcommon.h148 TEE_Result scmi_entry_msg(unsigned int channel_id, void *in_buf, size_t in_size,
/optee_os/ta/pkcs11/src/
H A Dprocessing_digest.c118 void *in_buf = NULL; in step_digest_operation() local
128 in_buf = params[1].memref.buffer; in step_digest_operation()
130 if (in_size && !in_buf) in step_digest_operation()
186 if (!in_buf || !in_size) in step_digest_operation()
189 TEE_DigestUpdate(proc->tee_op_handle, in_buf, in_size); in step_digest_operation()
199 if (in_buf || !out_buf) in step_digest_operation()
211 in_buf, in_size, out_buf, in step_digest_operation()
H A Dprocessing_symm.c740 void *in_buf = NULL; in step_symm_operation() local
754 in_buf = params[1].memref.buffer; in step_symm_operation()
756 if (in_size && !in_buf) in step_symm_operation()
812 if (!in_buf) { in step_symm_operation()
820 TEE_MACUpdate(proc->tee_op_handle, in_buf, in_size); in step_symm_operation()
837 if (!in_buf) { in step_symm_operation()
846 in_buf, in_size, in step_symm_operation()
863 in_buf, in_size, out_buf, &out_size); in step_symm_operation()
881 rc = tee_ae_decrypt_update(session, in_buf, in_size); in step_symm_operation()
916 in_buf, in_size, out_buf, in step_symm_operation()
[all …]
H A Dprocessing_asymm.c483 void *in_buf = NULL; in step_asymm_operation() local
504 in_buf = params[1].memref.buffer; in step_asymm_operation()
506 if (in_size && !in_buf) in step_asymm_operation()
644 TEE_DigestUpdate(proc->tee_op_handle2, in_buf, in_size); in step_asymm_operation()
687 res = TEE_DigestDoFinal(proc->tee_op_handle2, in_buf, in_size, in step_asymm_operation()
785 in_buf, in_size, in step_asymm_operation()
796 in_buf, in_size, in step_asymm_operation()
808 in_buf, in_size, in step_asymm_operation()
818 in_buf, in_size, in step_asymm_operation()
844 in_buf, in_size, in step_asymm_operation()
[all …]
H A Dprocessing.c825 void *in_buf = NULL; in entry_processing_key() local
844 in_buf = params[1].memref.buffer; in entry_processing_key()
846 if (in_size && !in_buf) in entry_processing_key()
989 rc = unwrap_key_by_symm(session, in_buf, in_size, in entry_processing_key()
1016 rc = unwrap_key_by_asymm(session, in_buf, in_size, in entry_processing_key()
/optee_os/core/arch/arm/include/scmi/
H A Dscmi_server.h30 TEE_Result scmi_server_msg_process_thread(unsigned int channel_id, void *in_buf,
54 void *in_buf __unused, in scmi_server_msg_process_thread()
/optee_os/core/pta/
H A Dscmi.c122 void *in_buf = params[1].memref.buffer; in cmd_process_msg_channel() local
127 if (ptypes != exp_pt || !in_buf || !out_buf) in cmd_process_msg_channel()
140 res = scmi_msg_threaded_entry(channel_id, in_buf, in_size, in cmd_process_msg_channel()
149 if (!in_buf || !out_buf) in cmd_process_msg_channel()
152 res = scmi_server_msg_process_thread(channel_id, in_buf, in cmd_process_msg_channel()
/optee_os/core/lib/scmi-server/
H A Dscmi_server.c62 void *in_buf, size_t in_sz, in scmi_server_msg_process_thread() argument
70 scmi_process_mbx_msg(fwk_id, in_buf, in_sz, out_buf, out_sz); in scmi_server_msg_process_thread()
/optee_os/core/include/drivers/
H A Dscmi-msg.h136 void *in_buf, size_t in_size,
140 void *in_buf __unused, in scmi_msg_threaded_entry()
/optee_os/lib/libmbedtls/mbedtls/library/
H A Dssl_msg.c2163 if (nb_want > in_buf_len - (size_t) (ssl->in_hdr - ssl->in_buf)) { in mbedtls_ssl_fetch_input()
2233 len = in_buf_len - (size_t) (ssl->in_hdr - ssl->in_buf); in mbedtls_ssl_fetch_input()
3247 (int) (ssl->in_iv - ssl->in_buf), in mbedtls_ssl_prepare_handshake_record()
3248 (int) (ssl->in_hdr - ssl->in_buf), in mbedtls_ssl_prepare_handshake_record()
3249 (int) (ssl->in_msg - ssl->in_buf))); in mbedtls_ssl_prepare_handshake_record()
3313 ssl->in_buf + MBEDTLS_SSL_SEQUENCE_NUMBER_LEN; in mbedtls_ssl_prepare_handshake_record()
3357 if (payload_end + ssl->in_msglen > ssl->in_buf + in_buf_len) { in mbedtls_ssl_prepare_handshake_record()
3364 (void *) ssl->in_buf, in_buf_len)); in mbedtls_ssl_prepare_handshake_record()
3753 ssl->in_buf, ssl->in_left, in ssl_handle_possible_reconnect()
4055 ssl->in_buf[13] == MBEDTLS_SSL_HS_CLIENT_HELLO) { in ssl_check_client_reconnect()
[all …]
H A Dssl_tls.c350 if (ssl->in_buf != NULL) { in handle_buffer_resizing()
351 written_in = ssl->in_msg - ssl->in_buf; in handle_buffer_resizing()
352 iv_offset_in = ssl->in_iv - ssl->in_buf; in handle_buffer_resizing()
353 len_offset_in = ssl->in_len - ssl->in_buf; in handle_buffer_resizing()
354 hdr_in = ssl->in_hdr - ssl->in_buf; in handle_buffer_resizing()
358 if (resize_buffer(&ssl->in_buf, in_buf_new_len, &ssl->in_buf_len) != 0) { in handle_buffer_resizing()
386 ssl->in_hdr = ssl->in_buf + hdr_in; in handle_buffer_resizing()
396 ssl->in_msg = ssl->in_buf + written_in; in handle_buffer_resizing()
397 ssl->in_len = ssl->in_buf + len_offset_in; in handle_buffer_resizing()
398 ssl->in_iv = ssl->in_buf + iv_offset_in; in handle_buffer_resizing()
[all …]
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Dssl.h1847 unsigned char *MBEDTLS_PRIVATE(in_buf); /*!< input buffer */