the public key and private key?
It is really strange to me. Maybe I'm not using the openssl APIs in the correct
sequence. Any idea?
From: Jason Goldberg
To: ""
Sent: Wednesday, August 15, 2012 2:35 PM
Subject: Re: Elliptic Curve key gene
:tombu...@gmail.com>>
To: "openssl-users@openssl.org<mailto:openssl-users@openssl.org>"
mailto:openssl-users@openssl.org>>
Cc: "mailto:openssl-users@openssl.org>>"
mailto:openssl-users@openssl.org>>
Sent: Wednesday, August 15, 2012 2:52 AM
Subject: Re:
uot;"
Sent: Wednesday, August 15, 2012 2:52 AM
Subject: Re: Elliptic Curve key generation help
Wow can't believe I already got an answer! Thanks so much guys I should be good
to go.
On Aug 14, 2012, at 6:59 PM, Jason Goldberg wrote:
Before you call generate_key, you need to in
Wow can't believe I already got an answer! Thanks so much guys I should be good
to go.
On Aug 14, 2012, at 6:59 PM, Jason Goldberg wrote:
> Before you call generate_key, you need to initialize your EC_KEY with a curve:
>
> EC_GROUP *group = EC_GROUP_new_by_curve_name(curve);
> EC_KEY_set_grou
Last time I learnt how to generate ECC key, I use apps/ecparam.c as a
reference.
To get a feel on what the code is doing, I played with the openssl ecparam
utility.
Using the utility, I also created CSR (PKCS10), created self-signed
certificate, etc.
I hope this is helpful.
Erwin
On Tue, Aug 1
Before you call generate_key, you need to initialize your EC_KEY with a curve:
EC_GROUP *group = EC_GROUP_new_by_curve_name(curve);
EC_KEY_set_group(testKey, group);
For 'curve' you could use, for example, NIST P256 which is defined with the
macro: NID_X9_62_prime256v1
You can then use these pr
I have been trying to figure out how to generate an elliptic curve public
private key pair and can't find much information on how you properly do
that. So far I have done the following and I'm pretty sure I am missing a
step someplace.
void makeECCKeyPair() {
EC_KEY *testKey = EC_KEY_new();