[openssl-users] Generating dh parameters multithreaded?

Joseph Southwell jsouthwell at serengeti.com
Wed Mar 15 18:18:38 UTC 2017


On any new install of our software we generate new dh parameters as follows…

DH *dh = DH_new();
!DH_generate_parameters_ex(dh, 2048, 2, NULL);
int codes = 0;
DH_check(dh, &codes);
DH_generate_key(dh);

It takes a long time. Is there some way to have it use all available cores instead of just the one?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20170315/abdcfd11/attachment.html>


More information about the openssl-users mailing list