opensgx icon indicating copy to clipboard operation
opensgx copied to clipboard

why does a loop slows down my code compared to a regular execution ?

Open BoujdadFz opened this issue 4 years ago • 0 comments

Hello, I wrote an enclave that generates an asymmetric encryption/decryption keys of 2048 bits. With a regular program, it runs in seconds, but within the enclave this is taking a lifetime. There is a do-while loop in my program which causes the slowdown but cant figure out why it would run differently. Can you help me with some hints please ?

Thank you for your help.

BoujdadFz avatar Aug 23 '19 15:08 BoujdadFz