I'm trying to create a binary to test hardware. I compiled my binary in hardware mode with a development cert. It can create enclave without any problem. However when I transfer the compiled binary to another computer with PSW and SGX Driver installed, it complained "SGX_ERROR_UNEXPECTED" when initializing the enclave. Does it mean the development binary are bonded to the host CPU? Did I make any mistake?
Looking for advise.
NO, the development binary is NOT bonded to the host CPU. Can you confirm that your two environment use the same version PSW ? And could you confirm that the SGX has been enabled in the platform?