I appreciate your support!

Amir

Hello Jacob,

Thanks for your answer.
From my understanding, the ecc_export_x963() function just exports the ecc Public key in ANSI X9.63 format. Is this correct?

What I need is the ecc private key in DER format (which includes the private key, public key, EC parameters and version information) so I can use it with the wolfSSL_CTX_use_PrivateKey_buffer() function to load it to the ssl layer, together with a public key certificate.

Thank you,
Amir

Hello,

Is there a function in yassl to convert an ecc private key (either from ecc_key struct or a private key in raw format) to a DER format? (something similar to the RsaKeyToDer() but for ecc key)

Thank you.