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

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

2012-08-06 Thread Mohammad khodaei
: Erwann Abalea erwann.aba...@keynectis.com To: openssl-users@openssl.org Cc: Mohammad Khodaei m_khod...@yahoo.com 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

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

2012-08-06 Thread Erwann Abalea
*To:* openssl-users@openssl.org *Cc:* Mohammad Khodaei m_khod...@yahoo.com *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

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

2012-08-06 Thread Mohammad khodaei
khodaei m_khod...@yahoo.com Sent: Monday, 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