> 
> The input to RSA_sign() must be smaller than BN_num_bytes(rsa->n) minus
> PKCS#1 padding bytes and some bytes for the asn1 digest encoding.

where is it written ?

> 
> [...]
> > so I don't understand what is going on with the value 100...and more I
> > don't know how to sign my real buffer (length ~= 500 octets)
> 
> Hash your buffer and then sign the hash value with RSA_sign()
> ( or better : use the EVP_Sign* functions ).

Is it a standard way to proceed ?


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

Reply via email to