I am trying to sign a long digest using DSA_sign method.

I have a problem if the data I am signing is longer than 20 bytes:
DSA_do_sign:data too large for key size:dsa_ossl.c:152

There is indeed a size limit : min(size(q),50).

I have 2 questions :
1/ How can I increase the number of bytes of q ?
2/ Will I have the same size limit if I use EVP functions or can I sign 
bigger messages?

Thanks in advance
[EMAIL PROTECTED]

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

Reply via email to