Topic: Build failure when --enable-ecc

Having trouble building with ECC support enabled.  I'm on ubuntu 12.04, building from the git master. 

$ ./configure --enable-ecc
....
$ make
....
make[1]: Entering directory `/home/tnichols/dev/cyassl'
  CCLD   ctaocrypt/benchmark/benchmark
ctaocrypt/benchmark/benchmark.o: In function `bench_eccKeyAgree':
benchmark.c:(.text+0x6a): undefined reference to `ecc_make_key'
benchmark.c:(.text+0x7c): undefined reference to `ecc_make_key'
benchmark.c:(.text+0xaf): undefined reference to `ecc_shared_secret'
benchmark.c:(.text+0x145): undefined reference to `ecc_sign_hash'
benchmark.c:(.text+0x189): undefined reference to `ecc_free'
benchmark.c:(.text+0x193): undefined reference to `ecc_free'
ctaocrypt/benchmark/benchmark.o: In function `bench_eccKeyGen':
benchmark.c:(.text+0x1e5): undefined reference to `ecc_make_key'
benchmark.c:(.text+0x1ef): undefined reference to `ecc_free'
src/.libs/libcyassl.so: undefined reference to `ecc_size'
src/.libs/libcyassl.so: undefined reference to `ecc_verify_hash'
src/.libs/libcyassl.so: undefined reference to `ecc_import_private_key'
src/.libs/libcyassl.so: undefined reference to `ecc_init'
src/.libs/libcyassl.so: undefined reference to `ecc_import_x963'
src/.libs/libcyassl.so: undefined reference to `ecc_sig_size'
src/.libs/libcyassl.so: undefined reference to `ecc_export_x963'
collect2: ld returned 1 exit status
make[1]: *** [ctaocrypt/benchmark/benchmark] Error 1
make[1]: Leaving directory `/home/tnichols/dev/cyassl'
make: *** [all] Error 2

Share

Re: Build failure when --enable-ecc

Hi,

We have ECC support available for CyaSSL embedded SSL, but haven't rolled it into the open source GPLv2 version of CyaSSL yet.  The ECC-releated files in the CyaSSL repo and download (ecc.c, ecc.h) are just placeholder files for now.

Would you be interested in having a call to discuss using ECC with CyaSSL in more detail?

Thanks,
Chris

Re: Build failure when --enable-ecc

Hi,

The manual for CyaSSL 1.1.0, section 14.1, states:

We do not reserve features! As such, everything available in the commercial version
of CyaSSL is also available in the open source GPL version.

Did you change your policy?

Anyway, I'm looking forward to seeing ECC in the open source version. (FTR, I'm a student trying to read some ECC code, so I'm obviously not interested in buying a commercial licence.)

Share

Re: Build failure when --enable-ecc

Hi mpg,

I wanted to let you know that we're planning on releasing our ECC code into open source in September.  Keep an eye on our blog and download page in the next month for news about a new release.

Best Regards,
Chris