Home
last modified time | relevance | path

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

/openbmc/linux/samples/nitro_enclaves/
H A Dne_ioctl_sample.c290 size_t enclave_image_size = 0; in ne_load_enclave_image() local
311 enclave_image_size = image_stat_buf.st_size; in ne_load_enclave_image()
313 if (enclave_memory_size < enclave_image_size) { in ne_load_enclave_image()
351 enclave_image = mmap(NULL, enclave_image_size, PROT_READ, in ne_load_enclave_image()
378 remaining_bytes = enclave_image_size - image_written_bytes; in ne_load_enclave_image()
387 if (image_written_bytes == enclave_image_size) in ne_load_enclave_image()
391 munmap(enclave_image, enclave_image_size); in ne_load_enclave_image()