Demystifying SGX part 3 —The enclave program