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 14, 2012 at 5:49 PM, Tom Leavy <tombu...@gmail.com> wrote:

> 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();
>
>     EC_KEY_generate_key(testKey);
>
> }
>

Reply via email to