Home
last modified time | relevance | path

Searched refs:total_len (Results 1 – 9 of 9) sorted by relevance

/trusty/user/app/sample/stats-test/
Dstats_test.cpp91 int total_len = sizeof(req) + sizeof(args); in TEST_F() local
93 if (rc != (int)total_len) { in TEST_F()
126 int total_len = sizeof(req) + sizeof(args); in TEST_F() local
128 if (rc != (int)total_len) { in TEST_F()
/trusty/user/base/app/swaes-benchmark/
Dswaes-bench.c190 int rc, total_len, out_len = 0; in encrypt() local
210 total_len = out_len; in encrypt()
212 rc = EVP_EncryptFinal_ex(&_state->evp_ctx, _state->buf + total_len, in encrypt()
216 total_len += out_len; in encrypt()
217 ASSERT_EQ(total_len, param->output_size); in encrypt()
240 int rc, total_len, out_len = 0; in decrypt() local
265 total_len = out_len; in decrypt()
270 total_len += out_len; in decrypt()
271 ASSERT_EQ(total_len, param->output_size); in decrypt()
/trusty/kernel/lib/metrics/
Dmetrics.c141 size_t total_len) { in send_req() argument
148 if (rc != (int)total_len) { in send_req()
162 size_t total_len; in report_crash() local
186 total_len = sizeof(req) + sizeof(args); in report_crash()
187 rc = send_req(chan, &ipc_msg, total_len); in report_crash()
202 size_t total_len; in report_exit() local
226 total_len = sizeof(req) + sizeof(args); in report_exit()
227 rc = send_req(chan, &ipc_msg, total_len); in report_exit()
/trusty/user/app/storage/
Derror_reporting.c99 size_t total_len = sizeof(req) + sizeof(atom); in do_error_report() local
102 if (rc != (int)total_len) { in do_error_report()
/trusty/user/base/lib/hwaes/
Dhwaes.c45 size_t total_len; member
180 iov_wrapper_ptr->total_len += len; in hwaes_set_iov_helper()
201 size_t pad_size = ROUND_UP(iov_wrapper_ptr->total_len, alignment) - in hwaes_pad_iov_helper()
202 iov_wrapper_ptr->total_len; in hwaes_pad_iov_helper()
220 data_desc_ptr->offset = iov_wrapper_ptr->total_len; in hwaes_set_iov_arg_helper()
278 if (rc < 0 || (size_t)rc != req_iov_ptr->total_len) { in hwaes_send_req()
445 if (resp.result == HWAES_NO_ERROR && resp_msg_size != resp_iov.total_len) { in hwaes_crypt()
/trusty/kernel/lib/arm_ffa/
Darm_ffa.c155 static status_t arm_ffa_call_mem_retrieve_req(uint32_t* total_len, in arm_ffa_call_mem_retrieve_req() argument
171 if (total_len) { in arm_ffa_call_mem_retrieve_req()
172 *total_len = (uint32_t)smc_ret.r1; in arm_ffa_call_mem_retrieve_req()
572 uint32_t total_len; in arm_ffa_mem_retrieve_start() local
579 res = arm_ffa_mem_retrieve(sender_id, handle, &total_len, &fragment_len); in arm_ffa_mem_retrieve_start()
620 if (total_len != computed_len) { in arm_ffa_mem_retrieve_start()
621 TRACEF("Reported length %u != computed length %u\n", total_len, in arm_ffa_mem_retrieve_start()
/trusty/user/base/app/hwaes-benchmark/
Dhwaes-bench.c64 size_t total_len; member
346 .total_len = sizeof(_state->req_hdr) + sizeof(_state->cmd_hdr) + in BENCH_SETUP()
/trusty/user/app/sample/hwcrypto/
Dhwkey_srv_fake_provider.c200 size_t total_len; in root_of_trust_derive_key() local
209 &total_len) || in root_of_trust_derive_key()
210 total_len >= sizeof(context_buf)) { in root_of_trust_derive_key()
/trusty/user/base/app/hwaes-unittest/
Dhwaes-test.c57 size_t total_len; member
318 ASSERT_EQ((size_t)rc, req_iov->total_len); in make_bad_request()
468 .total_len = sizeof(_state->req_hdr) + sizeof(_state->cmd_hdr) + in TEST_F_SETUP()