Linaro / uadk_engine

OpenSSL engine for uadk.
Apache License 2.0
6 stars 19 forks source link

async: add callback method #218

Open gaozhangfei opened 3 months ago

gaozhangfei commented 3 months ago

The app uses ASYNC_WAIT_CTX_set_callback and engine/provider uses ASYNC_WAIT_CTX_get_callback to check Otherwise return to the fd method.

Some uncertainties:

  1. no test app, speed does not support callback QAT uses its application.

  2. engine can report status via ASYNC_WAIT_CTX_set_status, which is not used in this patch