Home
last modified time | relevance | path

Searched refs:hwaes_session (Results 1 – 2 of 2) sorted by relevance

/trusty/user/base/app/hwaes-unittest/
Dhwaes-test.c286 hwaes_session_t hwaes_session; member
368 _state->hwaes_session = INVALID_IPC_HANDLE; in TEST_F_SETUP()
372 rc = hwaes_open(&_state->hwaes_session); in TEST_F_SETUP()
480 close(_state->hwaes_session); in TEST_F_TEARDOWN()
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()
515 make_bad_request(_state->hwaes_session, &_state->req_iov, &_state->req_shm, in TEST_F()
521 make_bad_request(_state->hwaes_session, &_state->req_iov, &_state->req_shm, in TEST_F()
527 make_bad_request(_state->hwaes_session, &_state->req_iov, &_state->req_shm, in TEST_F()
[all …]
/trusty/user/base/app/hwaes-benchmark/
Dhwaes-bench.c88 hwaes_session_t hwaes_session; member
248 _state->hwaes_session = INVALID_IPC_HANDLE; in BENCH_SETUP()
267 rc = hwaes_open(&_state->hwaes_session); in BENCH_SETUP()
357 if (_state->hwaes_session != INVALID_IPC_HANDLE) { in BENCH_SETUP()
358 close(_state->hwaes_session); in BENCH_SETUP()
367 close(_state->hwaes_session); in BENCH_TEARDOWN()
374 int rc = hwaes_encrypt(_state->hwaes_session, &_state->args); in encrypt()
398 int rc = hwaes_decrypt(_state->hwaes_session, &_state->args); in decrypt()