/optee_os-3.20.0/core/drivers/scmi-msg/ |
A D | shm_msg.c | 45 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 D | entry.c | 57 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 D | common.h | 83 size_t out_size; member 149 void *out_buf, size_t *out_size, uint32_t *sec_buf);
|
A D | smt.c | 114 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 D | voltage_domain.c | 192 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 D | clock.c | 298 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 D | base.c | 152 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 D | scmi_server.h | 32 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 D | processing_digest.c | 121 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 D | processing_symm.c | 721 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 D | processing_asymm.c | 462 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 D | processing.c | 818 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 D | persistent_token.c | 340 size_t out_size = *size; in get_persistent_objects_list() local 344 if (out_size < *size) in get_persistent_objects_list()
|
A D | pkcs11_token.c | 242 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 D | scmi.c | 125 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 D | nist_kw.h | 138 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 D | stm32_rng.c | 153 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 D | scmi-msg.h | 137 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 D | nist_kw.c | 144 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 D | tee_fs_key_manager.c | 170 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 D | fs_htree.c | 509 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()
|