opensgx
opensgx copied to clipboard
GMP library within enclave: some mpz operations crash
hello,
I'm not able to run some of the GMP library operations inside an enclave, in the code attached I'm getting this error: qemu: uncaught target signal 4 (Illegal instruction) - core dumped
The program crashes at line 34 of the c program "sof.txt" so it is not able to perform mpz_mod operation, I had the same issue before with mpz_invert but could fix with some other strategy but this one, I have no clue that would respect my scenario.
Could anyone please run this program on their machine and tell if it's running properly? Thank you in advance,