hi,
is someone here using DSA-SHA256? i am get into trouble now and need
help.
The document of Openssl-1.0.0 said support DSA-SHA2. So i got some test
using DSA_sign(),but i got the error "data too large for key size". Skipping
into the dsa_ossl.c, i found sa_do_sign() allow the digest length to be 32
(i.e. 256bit).code below:
if (dlen > SHA256_DIGEST_LENGTH) //digest len > 32byte
{
reason=DSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE;
goto err;
}
It's really puzzled me. how can i using DSA-SHA256 correctly?
i need you help.
armstrong
2009-10-6
--
View this message in context:
http://www.nabble.com/DSA-SHA256-problem-tp25754447p25754447.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [email protected]