-
Notifications
You must be signed in to change notification settings - Fork 918
Add STSAFE-A120 Support #9614
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
Add STSAFE-A120 Support #9614
Conversation
|
🛟 Devin Lifeguard found 3 likely issues in this PR
@dgarske |
|
Jenkins retest this please: "AgentOfflineException" |
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.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
|
Jenkins retest this please: "AgentOfflineException" |
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.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
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.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated 6 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated 5 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated 5 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Looks like the macro list needs touched up: |
|
Retest this please Jenkkinis
|
Add STSAFE-A120 Support via STSELib
Description
This PR adds support for the ST STSAFE-A120 secure element using the open-source STSELib SDK. The STSAFE-A120 is ST's latest secure element with enhanced cryptographic capabilities and is the successor to the STSAFE-A100/A110 series.
Changes
Files Modified:
wolfcrypt/src/port/st/stsafe.c- Added STSAFE-A120/STSELib implementationwolfssl/wolfcrypt/port/st/stsafe.h- Added type abstractions and curve mappingswolfcrypt/src/wc_port.c- Updated STSAFE initializationwolfcrypt/src/port/st/README.md- Added documentationFeatures
Configuration
Enable with:
Dependencies
API Compatibility
The new implementation maintains API compatibility with the existing STSAFE-A100 code:
stsafe_interface_init()- Initialize devicewolfSSL_STSAFE_CryptoDevCb()- Crypto callback handlerSSL_STSAFE_*callback functions for TLS integrationTesting
Tested on Raspberry Pi 5 with STSAFE-A120 connected via I2C:
Performance (Raspberry Pi 5)
Notes
stse_conf.hstsafe.hdepend on which curves are enabled instse_conf.hRelated
ZD 20780