-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
Renesas: Smartbond: Crypto Driver Update #72956
Renesas: Smartbond: Crypto Driver Update #72956
Conversation
7e18def
to
f155906
Compare
drivers/crypto/crypto_smartbond.c
Outdated
* write access while XiP, should result in raising busfault | ||
* exception. | ||
*/ | ||
return crypto_swap_word(data); |
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.
return crypto_swap_word(data); | |
return SWAP32(__UNALIGNED_UINT32_READ(data)); |
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.
Or better use API functions like sys_get_le32()/sys_get_be32().
f155906
to
5f38bec
Compare
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.
We need a "consumer" for this, don't we?
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.
Fixed
655e8a7
to
614c2f2
Compare
614c2f2
to
302c732
Compare
89c7129
to
b14ab57
Compare
This commit should fix the followings: 1. Suppress compiler warnings 2. Cryptographic mode should first be exercised before applying the secure key 3. In-memory word swap operations should be omitted as the key should reside in the flash memory and so any write access should raise a busfault exception Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
This commit should add support for the DA1469x Pro DevKit. Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
This commit should add support for the DA1469x Pro DevKit. Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
2c5a49e
b14ab57
to
2c5a49e
Compare
@ceolin ping |
This PR should fix few Crypto driver issues and add support to the Crypto tests/samples suite.