Ok,
So is there any way after setting these parameters I can get the
public key(point) on curve.?
after setting the curve parameter I can ask for point in the curve
there is one API I have seen right?
GetPublicKey.
Can u do that from command line?

thanks
jeetendra

On 14 December 2012 18:40, Matt Caswell (fr...@baggins.org)
<fr...@baggins.org> wrote:
> Yes there is a dependency. The curve parameters define what the curve is,
> whilst the public key is a point on the curve. The public key is inherently
> linked to the curve parameters. If you change the parameters then the public
> key will no longer be valid.
>
> Matt
>
> On 14 December 2012 12:42, jeetendra gangele <gangele...@gmail.com> wrote:
>>
>> Ok Do you know if there any dependency between these curve parameters
>> and private and public key.?
>>
>> I mean I am loading these parameters and generating private and public
>> keys from Openssl command line tools.
>> It did not worked for me .
>> but when i use standard curve and load public and private keys it worked
>> for me.
>> So is there any relation between curve parameters and public and private
>> keys.
>>
>>
>> thanks
>>
>>
>>
>> On 14 December 2012 18:07, jeetendra gangele <gangele...@gmail.com> wrote:
>> > 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
>
>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to