Searched refs:hwaes_session (Results 1 – 2 of 2) sorted by relevance
/trusty/user/base/app/hwaes-unittest/ |
D | hwaes-test.c | 286 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/ |
D | hwaes-bench.c | 88 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()
|