Re: Pls some basic c code to generate key pair using openssl

2010-12-20 Thread Mounir IDRASSI
Hi, Here are the basic calls needed to generate an ECC key (this example uses NSA Suite B curve P-256) : int curveId = OBJ_sn2nid(prime256v1); EC_GROUP* pGroup = EC_GROUP_new_by_curve_name(curveId); EC_KEY* pKey = EC_KEY_new(); EC_KEY_set_group(pKey, pGroup); EC_KEY_generate_key(pKey));

Pls some basic c code to generate key pair using openssl

2010-12-19 Thread akdin
I am a new user of openssl. If anybody post basic C code to generate ecc key pairsusing openssl it will give me an insight to produce further . Ur help will be highly appreciable., regards akdin -- View this message in context: http://old.nabble.com/Pls-some-basic-c-code-to-generate-key-pair