I got these parameters from marlin and I wanted to load these parameter. Its must for me to load these parameters.
On 14 December 2012 17:37, Matt Caswell (fr...@baggins.org) <fr...@baggins.org> wrote: > > > On 14 December 2012 11:47, jeetendra gangele <gangele...@gmail.com> wrote: >> >> Thanks >> But i have these parameters and I wanted to load them p,a,b,q >> Do u know how can i load them? >> > > The parameters are related to the definition of the curve. Where did you get > the parameters from? Are you sure they are not just the parameters from a > standard curve? It is much better to use the standard built in curves that > attempting to create your own. Can you ask the person that supplied you with > these parameters to tell you which standard curve they are using? > > If you really *have* to use the parameters directly, and they are not from a > standard curve then you will need to create the curve yourself. You can use > EC_GROUP_new_curve_GFp for an Fp (NID_X9_62_prime_field) curve or > EC_GROUP_new_curve_GF2m for an F2m (NID_X9_62_characteristic_two_field) > curve. You will also need to call EC_GROUP_set_generator to set the > generator point for the curve. > > Matt ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org