(The answer to this seems to be 'no', but the web posts were 5-10 years old. Perhaps there's a better answer today.)

I'm using openssl to emulate a TPM. The hardware device has an abort feature, where the TPM driver can cancel a long command. The driver wants to distinguish between a long command and a failure.

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

The best I saw on the web is to do the key generation in another thread. If the command is canceled, ignore the thread result.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to