Thanks
But i have these parameters and I wanted to load them p,a,b,q
Do u know how can i load them?


Thanks
jeetendra



On 14 December 2012 17:10, Matt Caswell (fr...@baggins.org)
<fr...@baggins.org> wrote:
>
> On 14 December 2012 11:14, jeetendra gangele <gangele...@gmail.com> wrote:
>>
>> Okay,
>> Thankd for ur reply.
>>
>> If i have only private key in my ECC_key object Will be able to sign the
>> data?.
>
>
> I've not tried it, so I'm not sure. I've had a quick review of the code and
> I can't see any reason why not, but I wouldn't recommend it. I would not
> consider an EC_KEY object that failed an EC_KEY_check_key call to be valid,
> and I would expect the library to make the same assumption. It is safer to
> have the public key present, and it is not difficult to do so.
>
>>
>> I mean i will load only private key and use the curve.Will I be able
>> to sign the data?
>> and How can i load other parametes like a,b,g,n in to the object.
>>
> If you are using a named curve (as you are in the code example you posted),
> you do not need to worry about the other parameters. These are incorporated
> into the definition of the named curve.
>
> Matt
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to