On Tue, 23 Mar 2004, Jose Castejon-Amenedo wrote: > On Tue, 2004-03-23 at 10:49, Rich Salz wrote: > > > Therefore, what is a 1,024-bit input? > > > > In terms of the OpenSSL API, the buffer that is passed in will be 128 bytes. > > /r$ > > OK. I would like to add to what you (correctly) wrote earlier on: a > 1,024-bit RSA key works on 1,024 bits of input and returns 1,024 bits of > output. The actual numerical value of the input can be any positive > integer smaller than the RSA modulus. In order to have 1,024 bits worth > of input, a left-padding with zeros is assumed by RSA_NO_PADDING.
Yeah! The man page should mention this. A buffer of value 255 will cause errors! We are not always encrypting TEXT. Xinwen Fu > > > > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > Development Mailing List [EMAIL PROTECTED] > Automated List Manager [EMAIL PROTECTED] > ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]