Add STSAFE-A120 Support#9614
Conversation
|
🛟 Devin Lifeguard found 3 likely issues in this PR
@dgarske |
|
Jenkins retest this please: "AgentOfflineException" |
|
Jenkins retest this please: "AgentOfflineException" |
There was a problem hiding this comment.
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.
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.
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.
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