RSA_generate_key_ex documentation

2010-07-13 Thread Ian Pilcher
I've been looking all over for this, and I can't find it. Background - I'm trying to build stunnel on a platform that doesn't include RSA_generate_key, so I need to modify it to use the newer API. At the very least, I need to know how to check the return value of the new API. Thanks! --

Re: RSA_generate_key_ex documentation

2010-07-12 Thread Ian Pilcher
On 07/11/2010 08:58 PM, Ger Hobbelt wrote: The new API is called RSA_generate_key_ex() and has a different interface. That much I know. The problem is finding the documentation for the new interface. the whole shebang bundled in a 7z for minimum transfer size. That's what I needed. (It did

Re: RSA_generate_key_ex documentation

2010-07-12 Thread Ger Hobbelt
On Mon, Jul 12, 2010 at 3:29 PM, Ian Pilcher arequip...@gmail.com wrote: the whole shebang bundled in a 7z for minimum transfer size. That's what I needed. (It did take me a while to figure out how to deal with a 7z file.) Sorry, been spreading 7zip through my environment for so long I

RSA_generate_key_ex documentation

2010-07-11 Thread Ian Pilcher
I've been looking all over for this, and I can't find it. Background - I'm trying to build stunnel on a platform that doesn't include RSA_generate_key, so I need to modify it to use the newer API. At the very least, I need to know how to check the return value of the new API. Thanks! --

Re: RSA_generate_key_ex documentation

2010-07-11 Thread Ger Hobbelt
The new API is called RSA_generate_key_ex() and has a different interface. To convert from the older to the newer, see attached files: these are from a local __patched__ openssl tree, which means the BN_value_RSA_F4() API is mine, not OpenSSL's. Attached files: - a patched copy of