Home
last modified time | relevance | path

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

/tools/testing/selftests/sgx/
Dload.c25 munmap((void *)encl->encl_base, encl->encl_size); in encl_delete()
88 secs->size = encl->encl_size; in encl_ioc_create()
94 munmap((void *)secs->base, encl->encl_size); in encl_ioc_create()
241 for (encl->encl_size = 4096; encl->encl_size < encl->src_size; ) in encl_load()
242 encl->encl_size <<= 1; in encl_load()
255 size_t encl_size = encl->encl_size; in encl_map_area() local
258 area = mmap(NULL, encl_size * 2, PROT_NONE, in encl_map_area()
265 encl->encl_base = ((uint64_t)area + encl_size - 1) & ~(encl_size - 1); in encl_map_area()
268 munmap((void *)(encl->encl_base + encl_size), in encl_map_area()
269 (uint64_t)area + encl_size - encl->encl_base); in encl_map_area()
Dsigstruct.c218 uint64_t encl_size; in mrenclave_ecreate() local
220 for (encl_size = 0x1000; encl_size < blob_size; ) in mrenclave_ecreate()
221 encl_size <<= 1; in mrenclave_ecreate()
226 mrecreate.size = encl_size; in mrenclave_ecreate()
Dmain.h22 size_t encl_size; member