Andrzej Chmielowiec via RT wrote:
> I have tryed to sign sha256 digest using ECDSA_OpenSSL() method and
> secp160r1 domain parameters. Unfortunately during this operation
> apears an error which sugests that I am trying to sign too long
> digest. But in such standards as IEEE 1363-2000 and SEC-1 (I do not
> know what is in ANSI X9.62-2005) there is possibility to sign
> arbitrary long digest with any domain parameters.


as you already found out openssl 0.9.8 doesn't really support something
else than ecdsa with sha1. This will change in 0.9.9 (and perhaps
algorithm you mentioned to shorten the hash will be implemented).

Cheers,
Nils

__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majordomo@openssl.org