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
: 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
*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
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