Hi Dave,
Thank you so much for your reply. I have been struggling with this issue
for while. And I tried your method, but I got a problem with
EC_KEY_new_by_curve_name: it always return NULL. Here is how I used it:
EC_KEY *eckey = EC_KEY_new_by_curve_name(NID_ecdsa_with_SHA256);
If(eckey == NULL)
{
>From: owner-openssl-us...@openssl.org On Behalf Of Khuc, Chuong D.
>Sent: Friday, 18 May, 2012 17:22
>I have an ECDSA private key in the form of a 32 byte unsigned char array,
>and a data that needs to be signed using that key. So I wrote the following
>code to load the key and use it to sign m