Julien Demoor wrote:
Hello,

I'm getting an error with the DSA_sign() function : "data too large for
key size". I have inputed a 40-byte-long string representing a
hexadecimal SHA-1 digest.


I think the acceptable size would be size of 'q' in ur dsa key and i guess the o/p of the sha digest function can be given directly to the dsa sign function not in hexa string format.


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

Reply via email to