RE: Question on openssl dgst: which private key?

2012-06-24 Thread Li, David
Dave, Sorry I forgot. I do also have the EC public key (the point Qx and Qy) in hex. I also know the curve P-384. So the only step I am not sure is how to convert the EC private and public keys into the DER format, i.e., step 2. - David From: owner-ope

RE: simply connection sslv2 to v3 in c

2012-06-24 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of ml > Sent: Wednesday, 20 June, 2012 21:34 > when using ssl V2 it is possible to run code in a few lines I quote > > #define CHK_NULL(x) do { if ((x)==NULL) exit (1); } while(0) > #define CHK_ERR(err,s) if ((err)==-1) { perro

RE: Question on openssl dgst: which private key?

2012-06-24 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Li, David > Sent: Thursday, 21 June, 2012 17:53 > If I have a private key in hex string , e.g, > 23d9f4ea6d87b7d6163d64256e3449255db14786401a51daa7847161bf56d4 > 94325ad2ac8ba928394e01061d882c3528, how can I convert it into > an ECDSA privat