Hi all!
I am writing a function that should encrypt data using an RSA key. This should be no problem at all reading the documentation, but I have not fully understood how to encrypt data that is bigger than RSA_size(key) (or if I understood well, size - 11 or size - 41 depending on the padding mode.) My questions are: -> how to write such a function, making the input size for the end-developer nothing he has to worry about (divide the input buffer into blocks and encrypt them one by one??) -> how this ratios (I mean size - 11 and so on) should be exactly calcualated (how this would fit into the last question,) for instance if NO_PADDING needs something like this or not. Thanks in advance for the help! _____________________________________________________________ Federico Sauter [EMAIL PROTECTED] Software Entwicklung Tel: +49 89 7465 4778 TESIS Sysware GmbH Fax: +49 89 7465 4788 Implerstraße 26 * D-81371 München * Deutschland ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]