I am debugging an opensgx application which uses openssl library within an enclave.
It works fine, but a call to ssl_get_algorithm2(s) crashes the app with:
i have tried increasing the NUM_EPC and HEAP_PAGE_FRAMES in each header as advised in #30 with no luck
finally my question:
how were the openssl static library files in libsgx folder generated?
do I need to include some specific ./Configure options to make it compatible with qemu?
I am debugging an opensgx application which uses openssl library within an enclave. It works fine, but a call to ssl_get_algorithm2(s) crashes the app with:
which might be somehow related to #30
to debug further i wanted to recompile the openssl library after I included debug prints in the ssl_get_algorithm2 function.
when i try to link the newly produced (libssl.a, libcrypto.a) library files to my opensgx program it crashes straight away with:
which looks like the same error
i have tried increasing the
NUM_EPC
andHEAP_PAGE_FRAMES
in each header as advised in #30 with no luckfinally my question: how were the openssl static library files in libsgx folder generated? do I need to include some specific ./Configure options to make it compatible with qemu?
so far i've simply tried
and change in the openssl Makefile:
PROCESSOR=386
grateful for any pointers, nnm77