Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce wolfssl_AES_CTR Arduino example #8514

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gojimmypi
Copy link
Contributor

Description

Adds a new AES CTR Arduino Sketch Example

GPLV2 Contributed by Chris Jennings Feb 2025; Thank you!

Fixes zd# 19275

Testing

How did you test?

Tested on Arduino using Teensy 4.1

  • ARM Cortex-M7 at 600 MHz
  • Float point math unit, 64 & 32 bits
  • 7936K Flash, 1024K RAM (512K tightly coupled), 4K EEPROM (emulated)
  • QSPI memory expansion, locations for 2 extra RAM or Flash chips

See https://www.pjrc.com/store/teensy41.html

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

@gojimmypi gojimmypi requested a review from dgarske February 28, 2025 02:09
@gojimmypi gojimmypi force-pushed the pr-introduce-arduino-wolfssl_AES_CTR branch from 7fc7e57 to 8ce26d8 Compare February 28, 2025 02:31
@gojimmypi
Copy link
Contributor Author

Jenkins retest this please

to retry "Unable to create live FilePath for wolf-linux-cloud-node"

@gojimmypi gojimmypi force-pushed the pr-introduce-arduino-wolfssl_AES_CTR branch from 8ce26d8 to 34043ab Compare March 3, 2025 20:10
@gojimmypi
Copy link
Contributor Author

Edit: I added a new updated file: examples/configs/user_settings_arduino.h that includes these macros for the AES_CTR example that would otherwise need to be added manually.

#define WOLFSSL_AES
#define WOLFSSL_AES_COUNTER

This user_settings_arduino.h file will be the new default user_settings.h for the next release of the Arduino-wolfSSL library. In the meantime, the changes can be made manually or with the install script.

I also included some minor changes to avoid warnings in Arduino related to hardening and not using client nor server examples.

@gojimmypi
Copy link
Contributor Author

Jenkins retest this please.

To retry unrelated DTLS 1.3 group 6 failure 4740 "invalid stream header: 636F7272"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants