Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/drivers/scmi-msg/
A Dshm_msg.c45 void *out_buf, size_t *out_size, uint32_t *sec_buf) in scmi_entry_msg() argument
57 assert(in_buf && out_buf && out_size && sec_buf); in scmi_entry_msg()
62 *out_size < sizeof(struct msg_header) || in scmi_entry_msg()
65 in_size, in_buf, *out_size, out_buf); in scmi_entry_msg()
90 msg.out_size = *out_size - sizeof(struct msg_header); in scmi_entry_msg()
96 *out_size = msg.out_size_out + sizeof(struct msg_header); in scmi_entry_msg()
A Dentry.c57 assert(msg->out && msg->out_size >= sizeof(int32_t)); in scmi_status_response()
65 if (msg->out_size < size) { in scmi_write_response()
66 DMSG("SCMI resp. payload %zu > %zu bytes", size, msg->out_size); in scmi_write_response()
136 void *out_buf, size_t *out_size) in scmi_msg_threaded_entry() argument
140 return scmi_entry_msg(channel_id, in_buf, in_size, out_buf, out_size, in scmi_msg_threaded_entry()
A Dcommon.h83 size_t out_size; member
149 void *out_buf, size_t *out_size, uint32_t *sec_buf);
A Dsmt.c114 msg.out_size = channel->shm_size - sizeof(*smt_hdr); in scmi_entry_smt()
116 assert(msg.out && msg.out_size >= sizeof(int32_t)); in scmi_entry_smt()
A Dvoltage_domain.c192 if (msg->out_size < sizeof(out_args)) { in scmi_voltd_describe_levels()
206 size_t avail_sz = msg->out_size - sizeof(out_args); in scmi_voltd_describe_levels()
240 if (msg->out_size < sizeof(out_args) + 3 * LEVEL_DESC_SIZE) { in scmi_voltd_describe_levels()
A Dclock.c298 size_t avail_sz = msg->out_size - sizeof(p2a); in scmi_clock_describe_rates()
329 if (msg->out_size < sizeof(p2a) + 3 * RATE_DESC_SIZE) { in scmi_clock_describe_rates()
A Dbase.c152 count = MIN(count - a2p->skip, msg->out_size - sizeof(p2a)); in discover_list_protocols()
/optee_os-3.20.0/core/arch/arm/include/scmi/
A Dscmi_server.h32 size_t *out_size);
57 size_t *out_size __unused) in scmi_server_msg_process_thread()
/optee_os-3.20.0/ta/pkcs11/src/
A Dprocessing_digest.c121 uint32_t out_size = 0; in step_digest_operation() local
135 out_size = params[2].memref.size; in step_digest_operation()
136 if (out_size && !out_buf) in step_digest_operation()
212 &out_size); in step_digest_operation()
216 params[2].memref.size = out_size; in step_digest_operation()
A Dprocessing_symm.c721 uint32_t out_size = 0; in step_symm_operation() local
744 out_size = params[2].memref.size; in step_symm_operation()
745 if (out_size && !out_buf) in step_symm_operation()
823 out_buf, &out_size); in step_symm_operation()
856 &out_size); in step_symm_operation()
888 if (out_size < hmac_len) { in step_symm_operation()
890 out_size = hmac_len; in step_symm_operation()
907 out_size = hmac_len; in step_symm_operation()
957 out_buf, &out_size); in step_symm_operation()
1008 *out_size = in_size; in derive_key_by_symm_enc()
[all …]
A Dprocessing_asymm.c462 uint32_t out_size = 0; in step_asymm_operation() local
488 out_size = params[2].memref.size; in step_asymm_operation()
489 if (out_size && !out_buf) in step_asymm_operation()
758 out_buf, &out_size); in step_asymm_operation()
769 out_buf, &out_size); in step_asymm_operation()
781 out_buf, &out_size); in step_asymm_operation()
823 out_buf, &out_size); in step_asymm_operation()
853 params[2].memref.size = out_size; in step_asymm_operation()
A Dprocessing.c818 uint32_t out_size = 0; in entry_processing_key() local
976 &out_size); in entry_processing_key()
980 &out_buf, &out_size); in entry_processing_key()
1007 &out_buf, &out_size); in entry_processing_key()
1020 rc = set_key_data(&head, out_buf, out_size); in entry_processing_key()
1128 uint32_t out_size = params[2].memref.size; in entry_wrap_key() local
1132 (out_size && !out_buf)) in entry_wrap_key()
1267 &out_size); in entry_wrap_key()
1275 &out_size); in entry_wrap_key()
1279 params[2].memref.size = out_size; in entry_wrap_key()
A Dpersistent_token.c340 size_t out_size = *size; in get_persistent_objects_list() local
344 if (out_size < *size) in get_persistent_objects_list()
A Dpkcs11_token.c242 const size_t out_size = sizeof(token_id) * TOKEN_COUNT; in entry_ck_slot_list() local
249 if (out->memref.size < out_size) { in entry_ck_slot_list()
250 out->memref.size = out_size; in entry_ck_slot_list()
262 out->memref.size = out_size; in entry_ck_slot_list()
/optee_os-3.20.0/core/pta/
A Dscmi.c125 size_t out_size = params[2].memref.size; in cmd_process_msg_channel() local
141 out_buf, &out_size); in cmd_process_msg_channel()
143 params[2].memref.size = out_size; in cmd_process_msg_channel()
154 &out_size); in cmd_process_msg_channel()
156 params[2].memref.size = (uint32_t)out_size; in cmd_process_msg_channel()
157 IMSG("scmi optee shm: out %zu", out_size); in cmd_process_msg_channel()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dnist_kw.h138 unsigned char *output, size_t* out_len, size_t out_size );
165 unsigned char *output, size_t* out_len, size_t out_size);
/optee_os-3.20.0/core/drivers/
A Dstm32_rng.c153 size_t out_size = 0; in stm32_rng_read() local
167 while (out_size < size) { in stm32_rng_read()
169 size_t sz = size - out_size; in stm32_rng_read()
188 out_size += sz; in stm32_rng_read()
/optee_os-3.20.0/core/include/drivers/
A Dscmi-msg.h137 void *out_buf, size_t *out_size);
143 size_t *out_size __unused) in scmi_msg_threaded_entry()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dnist_kw.c144 unsigned char *output, size_t *out_len, size_t out_size ) in mbedtls_nist_kw_wrap() argument
160 if( out_size < in_len + KW_SEMIBLOCK_LENGTH ) in mbedtls_nist_kw_wrap()
188 if( out_size < in_len + KW_SEMIBLOCK_LENGTH + padlen ) in mbedtls_nist_kw_wrap()
348 unsigned char *output, size_t *out_len, size_t out_size ) in mbedtls_nist_kw_unwrap() argument
356 if( out_size < in_len - KW_SEMIBLOCK_LENGTH ) in mbedtls_nist_kw_unwrap()
/optee_os-3.20.0/core/tee/
A Dtee_fs_key_manager.c170 static TEE_Result sha256(uint8_t *out, size_t out_size, const uint8_t *in, in sha256() argument
174 out, out_size); in sha256()
A Dfs_htree.c509 size_t out_size = len; in authenc_decrypt_final() local
511 res = crypto_authenc_dec_final(ctx, crypt, len, plain, &out_size, tag, in authenc_decrypt_final()
516 if (res == TEE_SUCCESS && out_size != len) in authenc_decrypt_final()
529 size_t out_size = len; in authenc_encrypt_final() local
532 res = crypto_authenc_enc_final(ctx, plain, len, crypt, &out_size, tag, in authenc_encrypt_final()
538 (out_size != len || out_tag_size != TEE_FS_HTREE_TAG_SIZE)) in authenc_encrypt_final()

Completed in 25 milliseconds