Sorry one other point. Just noticed that in one of your other posts,
you have been provided with a previously existing private key. In that
case you need to find out what curve that private key was associated
with.

Matt

On 22 May 2012 17:04, Matt Caswell (fr...@baggins.org)
<fr...@baggins.org> wrote:
> NID_ecdsa_with_SHA256 is not the name of a curve.
>
> NID_secp256k1 is probably a good choice. Refer to the following
> document for a discussion on recommended curves (appendix d), and then
> find the related NID name for the curve you want in OpenSSL:
> http://csrc.nist.gov/publications/fips/fips186-3/fips_186-3.pdf
>
> Matt
>
>
> On 22 May 2012 16:07, Khuc, Chuong D. <ck...@swri.org> wrote:
>> Hi,
>> 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)
>> {
>>  printf("ERROR: NULL ECKEY!\r\n");
>> }
>> Do you happen to know the reason?
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to