jimmy wrote: > 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.
In my case, this is not possible, the digest is computed externally and can be passed only as a string. Thanks for the answers. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]