In my enclave.cpp code, there is sgx_aes_ctr function call.
When I executes my program, it works well but the execution time is not proportional to the number of threads.
I tested with 7700k cpu and 1, 2, 4 threads.
Without sgx_aes_ctr, execution results are proportional to 4, 2, 1 times well.
I am using sgx sdk 1.8 and I realize that the fuction is lapping ippsAESEncryptCTR.
https://github.com/01org/linux-sgx/blob/1115c195cd60d5ab2b80c12d07e21663...
https://software.intel.com/sites/default/files/managed/f6/6f/ippcp_0.pdf
Is sgx_aes_ctr reentrant?
Why my programs execution time looks it doesn't?
Zone:
Thread Topic:
Question