On 19 March 2013 10:22, Leon Brits <le...@parsec.co.za> wrote:
> I’ve created keys for NIST Prime curves (224-571bit), Binary and Kolbits
> curves (233-571 bit). I then convert the keys to PEM using the same method
> which I used successfully for RSA and DSA which only calls
> PEM_write_bio_PrivateKey() and PEM_write_bio_PUBKEY(). The type is never
> specified in my functions. What is interesting now is that if I test the EC
> PEM files, using the openssl command line tool, all the keys generated for
> the NIST Prime curves is successfully parsed while the others fails with the
> following error:

I have just tested this with no problems using NID_sect233k1. What
version of openssl are you using? Please see attached PEM file. Are
you able to read that with openssl ec? Please send me a sample PEM
that you are having difficulty with and I will see if I can read it.

Matt

Attachment: out.pem
Description: Binary data

Reply via email to