Home
last modified time | relevance | path

Searched refs:AUX_PAGE_SIZE (Results 1 – 3 of 3) sorted by relevance

/trusty/user/base/lib/hwaes/srv/
Dhwaes_server.c32 #define AUX_PAGE_SIZE() getauxval(AT_PAGESZ) macro
124 if (size == 0 || size % AUX_PAGE_SIZE()) { in hwaes_map_shm()
477 uint8_t* req_msg_buf = memalign(AUX_PAGE_SIZE(), HWAES_MAX_MSG_SIZE); in hwaes_on_message()
478 uint8_t* resp_msg_buf = memalign(AUX_PAGE_SIZE(), HWAES_MAX_MSG_SIZE); in hwaes_on_message()
/trusty/user/base/app/hwaes-benchmark/
Dhwaes-bench.c52 #define AUX_PAGE_SIZE() getauxval(AT_PAGESZ) macro
213 void* base = memalign(AUX_PAGE_SIZE(), size); in shm_alloc()
250 size_t size = round_up(CUR_PARAM.input_size + GCM_TAG_LEN, AUX_PAGE_SIZE()); in BENCH_SETUP()
/trusty/user/base/app/hwaes-unittest/
Dhwaes-test.c30 #define AUX_PAGE_SIZE() getauxval(AT_PAGESZ) macro
367 size_t shm_len = AUX_PAGE_SIZE(); in TEST_F_SETUP()
375 shm_base = memalign(AUX_PAGE_SIZE(), shm_len); in TEST_F_SETUP()