Re: [openssl-users] ECDSA sign/verify input data size

2012-08-06 Thread Mohammad khodaei
, August 6, 2012 3:42 PM Subject: Re: [openssl-users] ECDSA sign/verify input data size Use the EVP_* interface for high-level functions. Use ECDSA_do_sign() or other low-level functions if you're absolutely sure about what you're doing. -- Erwann ABALEA Le 06/08/2012 14:31, Mohammad

Re: [openssl-users] ECDSA sign/verify input data size

2012-08-06 Thread Erwann Abalea
* openssl-users@openssl.org *Cc:* Mohammad Khodaei *Sent:* Monday, August 6, 2012 2:14 PM *Subject:* Re: [openssl-users] ECDSA sign/verify input data size Bonjour, Which part of the examples did you mimic? 32 bytes is the length of a SHA256, it's also the max message length of a 256bits ECDSA k

Re: [openssl-users] ECDSA sign/verify input data size

2012-08-06 Thread Mohammad khodaei
From: Erwann Abalea To: openssl-users@openssl.org Cc: Mohammad Khodaei Sent: Monday, August 6, 2012 2:14 PM Subject: Re: [openssl-users] ECDSA sign/verify input data size Bonjour, Which part of the examples did you mimic? 32 bytes is the length of a SHA256, it's also the max message l

Re: [openssl-users] ECDSA sign/verify input data size

2012-08-06 Thread Erwann Abalea
Bonjour, Which part of the examples did you mimic? 32 bytes is the length of a SHA256, it's also the max message length of a 256bits ECDSA key. Whence, I assume you're doing straight ECDSA_do_sign() without hashing and padding the message. -- Erwann ABALEA - paléogallicisme: style "vieill