1 (edited by chrisj7903 2026-01-19 13:52:37)

Topic: wolfssl_AES_CTR example no longer compiles for Teensy 4.1

I've come across an issue compiling with the latest wolfssl 5.8.4 arduino library on Teensy 4.1

The wolfssl_AES_CTR example included in the library compiles with no issues for Teensy Micromod, but not for Teensy 4.1 ?

This would compiile for both Teensy models on the earlier wolfssl 5.7.6 library last year, so this is somewhat puzzling. See attached the compilation output.

What could be causing this?

TIA

Post's attachments

wolfssl_AES_CTR_compile_errors.txt 13.68 kb, 2 downloads since 2026-01-19 

You don't have the permssions to download the attachments of this post.

Share

Re: wolfssl_AES_CTR example no longer compiles for Teensy 4.1

Hi chrisj7903,

This is Anthony again.  I remember helping you with a related issue early in 2025.  I'm not sure of the root cause of this issue you are having. 

Are you using AES on its own?  As a quick workaround, you can build with the following macro defined to get around this:

WOLFCRYPT_ONLY

This should be okay for you as you are not using TLS.  I remember that from our conversations last year.

Warm regards, Anthony

Share

Re: wolfssl_AES_CTR example no longer compiles for Teensy 4.1

Hi again Anthony, great to hear from you again !!

I am not quite sure how to "build with the following macro". Is it as simple as adding #define WOLFCRYPT_ONLY to the code?
I've only used AES in Counter mode for all my work so far, so I don't think TLS is involved.

cheers & kind regards 

PS: Is Jim Scarletta still part of the team? His email address was jim@wolfssl.com last year, but that bounced when i tried earlier ?

Share

Re: wolfssl_AES_CTR example no longer compiles for Teensy 4.1

Are you looking into this Anthony? I do need to solve this fairly soon.
Happy to log an issue report somewhere else if need be, just let me know
thanks, Chris

Share

Re: wolfssl_AES_CTR example no longer compiles for Teensy 4.1

Hi Chris,

How do you configure wolfSSL when you build it?  Is there a place in your project where you can define macros?  Do you have a user_settings.h file? You can define it in either of these places. 

I'm so sorry for the delayed response here. Fortunately there is a place where we are far more responsive.  Please send a message to support@wolfssl.com to get an official support ticket opened.

Unfortunately, no Jim is no longer part of the wolfSSL Team.  If you would like to reach him, I can send him your email address. Open a support ticket and that will give us your email address and I can send it to him.

Warm regards, Anthony

Share

Re: wolfssl_AES_CTR example no longer compiles for Teensy 4.1

Thanks Anthony. I'll log a support ticket.
And yes, I would like to keep in touch with Jim, if I can get his email address that would be great.
kind regards

Share