1

(1 replies, posted in wolfSSL)

> ./configure --enable-certgen --enable-keygen --enable-ecc --enable-fastmath C_EXTRA_FLAGS="-DTFM_TIMING_RESISTANT" --enable-rsa=no
> make
make
make -j13  all-am
make[1]: Entering directory `/git-repos/cyassl_x86/cyassl-2.9.0'
  CC       src/src_libcyassl_la-internal.lo
  CC       src/src_libcyassl_la-io.lo
  CC       src/src_libcyassl_la-keys.lo
  CC       src/src_libcyassl_la-ssl.lo
  CC       src/src_libcyassl_la-tls.lo
  CC       ctaocrypt/src/src_libcyassl_la-hmac.lo
  CC       ctaocrypt/src/src_libcyassl_la-random.lo
  CC       ctaocrypt/src/src_libcyassl_la-sha256.lo
  CC       ctaocrypt/src/src_libcyassl_la-logging.lo
  CC       ctaocrypt/src/src_libcyassl_la-port.lo
  CC       ctaocrypt/src/src_libcyassl_la-error.lo
  CC       ctaocrypt/src/src_libcyassl_la-memory.lo
  CC       ctaocrypt/src/src_libcyassl_la-dh.lo
In file included from ./cyassl/ctaocrypt/asn.h:33:0,
                 from ./cyassl/internal.h:34,
                 from src/tls.c:29:
./cyassl/ctaocrypt/asn_public.h:132:64: error: unknown type name 'RsaKey'
./cyassl/ctaocrypt/asn_public.h:139:40: error: unknown type name 'RsaKey'
./cyassl/ctaocrypt/asn_public.h:140:68: error: unknown type name 'RsaKey'
...

2

(7 replies, posted in wolfSSL)

I'd like to be able to use a self generated key to self sign a certificate.
Seems like the key needs to be in a DER format first, is there an ECC equivalent of the RsaKeyToDer function?