Hello

I would like to sign the digest of a file using the elliptic curve
sect233r1

I generate my by 
openssl ecparam -genkey -name sect233r1 -noout -out id_eckey

Signing by
openssl dgst -sha1 -sign id_eckey  file => OK  => OK
openssl dgst -sha512 -sign id_eckey  file => NOK

When I try to generate de digest before
It works with an rsa key but not with ecdsa key

openssl dgst -sha1 -out dg1 Makefile
openssl pkeyutl -sign -inkey id_rsa -in dg1 => OK
openssl pkeyutl -sign -inkey id_eckey -in dg1 => NOK


Could you tell me where I'm wrong.


        Thanks

        Regards

        Bruno



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

Reply via email to