Hi!

This pull request adds support for async jobs in OpenSSL speed:
https://github.com/openssl/openssl/pull/501


Summary of the changes:

  *   Move the calls to the crypto operations inside wrapper functions.
This is required because ASYNC_start_job() takes a function as an argument.


  *   Add new function run_benchmark() that manages the jobs for all the 
operations.
In the POSIX case it uses a select() to receive the events from the engine and 
resume the jobs that are paused, while in the WIN case it uses PeekNamedPipe()


  *   Add new option argument async_jobs to enable and specify the number of 
async jobs

Example:

openssl speed -engine dasync -elapsed -async_jobs 32 rsa2048


Regards,
Andrea Grandi
--------------------------------------------------------------
Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263


This e-mail and any attachments may contain confidential material for the sole
use of the intended recipient(s). Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.

_______________________________________________
openssl-bugs-mod mailing list
openssl-bugs-...@openssl.org
https://mta.openssl.org/mailman/listinfo/openssl-bugs-mod
_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to