Searched refs:in_shm (Results 1 – 2 of 2) sorted by relevance
/optee_test/host/xtest/ |
A D | aes_perf.c | 88 static TEEC_SharedMemory in_shm = { variable 256 allocate_shm(&in_shm, sz); in alloc_buffers() 261 register_shm(&in_shm, input_sdp_fd); in alloc_buffers() 289 TEEC_ReleaseSharedMemory(&in_shm); in free_shm() 298 TEEC_ReleaseSharedMemory(&in_shm); in free_shm() 463 run_feed_input(in_shm.buffer, size, 0); in aes_perf_run_test() 469 op.params[0].memref.parent = &in_shm; in aes_perf_run_test() 471 op.params[1].memref.parent = in_place ? &in_shm : &out_shm; in aes_perf_run_test() 493 run_feed_input(in_shm.buffer, size, 1); in aes_perf_run_test() 499 register_shm(&in_shm, input_sdp_fd); in aes_perf_run_test() [all …]
|
A D | sha_perf.c | 30 static TEEC_SharedMemory in_shm = { variable 152 in_shm.buffer = NULL; in alloc_shm() 153 in_shm.size = sz + offset; in alloc_shm() 154 res = TEEC_AllocateSharedMemory(&ctx, &in_shm); in alloc_shm() 165 TEEC_ReleaseSharedMemory(&in_shm); in free_shm() 311 memset((uint8_t *)in_shm.buffer + offset, 0, size); in sha_perf_run_test() 316 op.params[0].memref.parent = &in_shm; in sha_perf_run_test() 335 t = run_test_once((uint8_t *)in_shm.buffer + offset, size, in sha_perf_run_test()
|
Completed in 5 milliseconds