Home
last modified time | relevance | path

Searched refs:req_iov (Results 1 – 5 of 5) sorted by relevance

/trusty/user/base/lib/hwaes/
Dhwaes.c377 struct hwaes_iov req_iov = {0}; in hwaes_crypt() local
394 hwaes_set_iov_helper(&req, sizeof(req), &req_iov); in hwaes_crypt()
395 hwaes_set_iov_helper(&cmd_header, sizeof(cmd_header), &req_iov); in hwaes_crypt()
398 &req_iov); in hwaes_crypt()
400 hwaes_set_iov_arg_in(&args->key, &cmd_header.key, &req_iov); in hwaes_crypt()
401 hwaes_set_iov_arg_in(&args->iv, &cmd_header.iv, &req_iov); in hwaes_crypt()
406 hwaes_pad_iov_helper(padd_buf, HWAES_TEXT_IN_BUF_ALIGNMENT, &req_iov); in hwaes_crypt()
408 hwaes_set_iov_arg_in(&args->aad, &cmd_header.aad, &req_iov); in hwaes_crypt()
412 hwaes_pad_iov_helper(padd_buf, HWAES_TEXT_IN_BUF_ALIGNMENT, &req_iov); in hwaes_crypt()
414 hwaes_set_iov_arg_in(&args->text_in, &cmd_header.text_in, &req_iov); in hwaes_crypt()
[all …]
/trusty/user/base/app/hwaes-unittest/
Dhwaes-test.c296 struct hwaes_iov req_iov; member
301 struct hwaes_iov* req_iov, in make_bad_request() argument
310 .iov = req_iov->iov, in make_bad_request()
311 .num_iov = req_iov->num_iov, in make_bad_request()
318 ASSERT_EQ((size_t)rc, req_iov->total_len); in make_bad_request()
350 struct hwaes_req* req_hdr = (struct hwaes_req*)req_iov->iov[0].iov_base; in make_bad_request()
460 _state->req_iov = (struct hwaes_iov){ in TEST_F_SETUP()
497 make_bad_request(_state->hwaes_session, &_state->req_iov, &_state->req_shm, in TEST_F()
503 make_bad_request(_state->hwaes_session, &_state->req_iov, &_state->req_shm, in TEST_F()
509 make_bad_request(_state->hwaes_session, &_state->req_iov, &_state->req_shm, in TEST_F()
[all …]
/trusty/user/base/interface/boot_done/generated/
DIBootDone.cpp154 struct iovec req_iov[] = { in on_message() local
157 ipc_msg_t req_msg = {.num_iov = countof(req_iov), in on_message()
158 .iov = req_iov, in on_message()
/trusty/user/base/app/hwaes-benchmark/
Dhwaes-bench.c95 struct hwaes_iov req_iov; member
337 _state->req_iov = (struct hwaes_iov){ in BENCH_SETUP()
/trusty/user/base/app/apploader/tests/
Dapploader_test.c52 struct iovec req_iov[2] = {{&hdr, sizeof(hdr)}, {req, req_size}}; in make_request() local
54 .iov = req_iov, in make_request()