1 (edited by kjjy7 2018-07-30 04:16:02)

Topic: HOW to USE EccKeyToDer functions?

whenever I use EccKeyToDer, these error happened.

Description    Resource    Path    Location    Type
'EccKeyToDer' was not declared in this scope

but, I don't know how to use this function...

I think lt's a Kind of Flag....

please. answer to me ...

regards

Share

Re: HOW to USE EccKeyToDer functions?

Hi kjjy,

The actual function name is `wc_EccKeyToDer`.
https://github.com/wolfSSL/wolfssl/blob … lic.h#L402

The old Cyassl used `EccKeyToDer` and is deprecated here:
https://github.com/wolfSSL/wolfssl/blob … blic.h#L71

To use this you must have ECC enabled:
`./configure --enable-ecc` or `#define HAVE_ECC`.

Thanks,
David Garske, wolfSSL

Share

Re: HOW to USE EccKeyToDer functions?

thanks

Share

Re: HOW to USE EccKeyToDer functions?

Thank you, very helpful