Hi

I search the mailarchives as well as stackoverflow for a answer. No success.

I just want to know how large my out-buffer must be when doing a 
RSA_public_encrypt.
In the docs i read the size must be RSA_size(RSA *).
In my case i'd like to encrypt files. So i read the whole file into a 
mem-buffer.

So how large should i malloc my out-buffer?

Or do you use any other function to encrypt files with a RSA public key?

Thanks
--
Jonas

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

Reply via email to