Topic: Minimum ECC build
Hello,
I'm trying to make a minimum footprint for ECC build.
The cipher I want to test is : TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256
Thus, regarding the ECC, I've defined:
#define HAVE_ECC
#define ECC_USER_CURVES /* Will use default ECC256 size */
#define NO_ECC_SIGN
#define NO_ECC_VERIFY
#define NO_ECC_KEY_IMPORT
#define NO_ECC_KEY_EXPORT
When trying to compile I get a lot of errors in internal.c and asn.c files:
undefined reference to `wc_ecc_verify_hash'
undefined reference to `wc_ecc_sign_hash'
undefined reference to `wc_ecc_import_x963_ex'
undefined reference to `wc_ecc_export_x963'
undefined reference to `wc_ecc_import_private_key_ex'
For this project I have two more defines that may be related to the topic:
#define NO_CERTS
#define NO_WOLFSSL_SERVER
Are there more options I need to disable/enable to make it work?
Best regards.