On 4/10/2013 5:14 PM, Dr. Stephen Henson wrote:

Does openssl have any elegant way to cancel an RSA key generation
that's taking too long?

At the EVP_PKEY level you can return 0 from the key generation callback to
cancel the operation. See EVP_PKEY_set_cb().

Thanks as always.  But where can I 'see' it?

I checked the openssl docs, the http://www.openssl.org/docs/crypto/ which often lists unlinked commands, and googled. No references.

I did find one uncommented sample under EVP_PKEY_keygen, but it didn't say when it's called, what the parameters are, or what to return.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to