> Hi at all, > > is it possible to change the OpenSSL RSA functions so that I can use > a different - may be a variable - block size. At the moment the block > size on the OpenSSL RSA functions depends on the length of the RSA > key pair and the kind of padding (following PKCS#1 v1.5, which means > 11 byte random data): > > key lenght block size available space > > 2024 bit 256 byte 245 byte > 1024 bit 128 byte 105 byte > 768 bit 96 byte 85 > > Normally, on symmetric encryption the block size _must_ be the same > as the key lenght. But on asymmetric encryption methods - I think - > the block size not depends on that restriction, or is there another > point, which forces such a fixed block size? > > Many thanks in advance!
Please accept my apologies for being totally blunt and not pulling any punches. You have no idea what you are doing and have no hope of producing any actual security, regardless of how good the libraries and algorithms you use are. Please pick up a good book on security algorithms and read it. Otherwise, you will repeat every mistake. The answer to your question is no, the block size is a fundamental characteristic of the way RSA works and failure to understand block size and padding in great detail makes it all but impossible to get any security out of RSA. DS ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]