On Thu, Dec 13, 2012 at 4:04 AM, jeetendra gangele <gangele...@gmail.com> wrote: > HI, > > I am trying to sign the data using EC-DSA algorithm. > i have the private key to sign the data and I could load using > EC_KEY_set_private_key. > But when check the loaded key its failing with the error code below. > error:100B1043:lib(16):func(177):reason(67) > EC_KEY_check_key failed: > > That means key not proper. > I am trying to use the curve NID_secp224r1. ... > 37 if(NULL == pub_key) > 38 printf("pub failed"); > 39 > 40 if (!EC_KEY_check_key(pkey)) { > 41 printf("EC_KEY_check_key failed:\n"); > 42 printf("%s\n",ERR_error_string(ERR_get_error(),NULL)); > 43 } Is it pub_key or pkey?
Jeff ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org