Topic: undefined reference to `wc_AesEcbEncrypt'

Hello everyone,

I am encountering an error with STM32F4 and STM32CubeIDE, and I'm hoping someone can help me out. The error message I'm receiving is [wc_AesEcbEncrypt].

I would greatly appreciate any suggestions or guidance on how to fix this error. Thank you in advance for your help!

Share

Re: undefined reference to `wc_AesEcbEncrypt'

Hello alex65,

Thanks for joining the wolfSSL Forums. Usually an undefined error indicates that the component you are trying use is not configured
in wolfSSL. Please check that the following macro is defined

HAVE_AES_ECB

Here are instructions for changing the configuration:
https://github.com/wolfSSL/wolfssl/tree … figuration

Thanks,
Eric - wolfSSL Support

Re: undefined reference to `wc_AesEcbEncrypt'

Hello embhorn,

Thanks for your reply, it is working.

Share