Home
last modified time | relevance | path

Searched refs:shm_hd_ptr (Results 1 – 4 of 4) sorted by relevance

/trusty/user/base/lib/hwaes/include/lib/hwaes/
Dhwaes.h64 struct hwcrypt_shm_hd* shm_hd_ptr; member
78 struct hwcrypt_shm_hd* shm_hd_ptr; member
/trusty/user/base/lib/hwaes/
Dhwaes.c95 struct hwcrypt_shm_hd* shm_hd_ptr, in hwaes_set_shm_arg_helper() argument
103 if (shm_hd_ptr) { in hwaes_set_shm_arg_helper()
105 if (shm_wrapper_ptr->handles[i] == shm_hd_ptr->handle) { in hwaes_set_shm_arg_helper()
111 shm_descs[i].size = shm_hd_ptr->size; in hwaes_set_shm_arg_helper()
112 shm_wrapper_ptr->handles[i] = shm_hd_ptr->handle; in hwaes_set_shm_arg_helper()
120 const uint8_t* shm_base = shm_hd_ptr->base; in hwaes_set_shm_arg_helper()
142 arg_ptr->shm_hd_ptr, true, data_desc_ptr, in hwaes_set_shm_arg_out()
159 arg_ptr->shm_hd_ptr, false, data_desc_ptr, in hwaes_set_shm_arg_in()
/trusty/user/base/app/hwaes-unittest/
Dhwaes-test.c265 args->text_out.shm_hd_ptr = shm_handle; in parse_vector()
270 args->tag_out.shm_hd_ptr = shm_handle; in parse_vector()
407 .shm_hd_ptr = &_state->shm_hd, in TEST_F_SETUP()
413 .shm_hd_ptr = &_state->shm_hd, in TEST_F_SETUP()
435 .shm_hd_ptr = &_state->shm_hd, in TEST_F_SETUP()
441 .shm_hd_ptr = &_state->shm_hd, in TEST_F_SETUP()
562 _state->args_encrypt.text_in.shm_hd_ptr = &bad_shm_hd; in TEST_F()
575 _state->args_encrypt.text_in.shm_hd_ptr = &bad_shm_hd; in TEST_F()
875 _state->args_encrypt.key.shm_hd_ptr = NULL; in TEST_F()
904 _state->args_decrypt.key.shm_hd_ptr = NULL; in TEST_F()
[all …]
/trusty/user/base/app/hwaes-benchmark/
Dhwaes-bench.c288 .shm_hd_ptr = &_state->shm_hdin, in BENCH_SETUP()
294 .shm_hd_ptr = &_state->shm_hdout, in BENCH_SETUP()
312 _state->args.tag_out.shm_hd_ptr = &_state->shm_hdout; in BENCH_SETUP()