-
Notifications
You must be signed in to change notification settings - Fork 850
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 new Arduino examples and configuration updates. TLSX gating #8514
base: master
Are you sure you want to change the base?
Introduce new Arduino examples and configuration updates. TLSX gating #8514
Conversation
7fc7e57
to
8ce26d8
Compare
Jenkins retest this please to retry "Unable to create live FilePath for wolf-linux-cloud-node" |
8ce26d8
to
34043ab
Compare
Edit: I added a new updated file:
This I also included some minor changes to avoid warnings in Arduino related to hardening and not using client nor server examples. |
Jenkins retest this please. To retry unrelated DTLS 1.3 group 6 failure 4740 "invalid stream header: 636F7272" |
#define WOLFSSL_USER_SETTINGS_ID "Arduino user_settings.h v5.7.6" | ||
|
||
/* Disable wolfcrypt cryptographic security hardening. Comment out to enable: */ | ||
#define WC_NO_HARDEN |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't support any examples that define this... Hardening should always be enabled unless the build is public operations only.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added these to the Arduino user_settings.h
to avoid the hardening warnings and not use WC_NO_HARDEN
:
#define ECC_TIMING_RESISTANT
#define WC_RSA_BLINDING
71539ce
to
34d7a35
Compare
34d7a35
to
c4a2975
Compare
Jenkins retest this please. For "Unable to create live FilePath for wolf-linux-cloud-node-nnn; wolf-linux-cloud-node-nnn was marked offline: Connection was broken" @dgarske I've expanded the scope of this PR to include an additional example. See ZD 19275. Updated description and PR title. In particular note the new additional gating changes to |
Description
This PR introduces a new AES CTR (Counter Mode) Arduino example sketch along with supporting template files and configuration updates. The example demonstrates AES CTR encryption and decryption capabilities of wolfSSL on Arduino platforms.
Key Changes
New AES CTR Example:
Arduino Template Example:
Configuration Updates:
Arduino Integration Improvements:
Documentation Updates:
Code Cleanup:
Fixes zd# 19275
Testing
How did you test?
Tested on Arduino using Teensy 4.1
See https://www.pjrc.com/store/teensy41.html
Checklist