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!

Best regards,

Philippe
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to