how to enable hardware cryptography for nucleo-u575zi_q / nucleo-u585ai board?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-23 10:25 PM
Hi,
I am working on enabling hardware cryptography in nucleo-u585ai board.
Can you suggest an example for enabling hardware cryptography? or Is it enabled always?
How to test or know that data is encrypted?
Thanks,
Akanksha
- Labels:
-
Cryptography
-
STM32U5 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-24 1:05 AM
Check if there are code examples for the EVAL series board, port those to the NUCLEO.
​
Have some examples and test cases / patterns you construct on a PC, or other platform, and compare results. Create encrypt and decrypt test code and have them communicate and validate results.
​
E​xpect to have to understand the concepts and methods.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-24 6:18 AM
Thanks for the reply
I would like to know whether the hardware cryptography feature is enabled implicitly or we need to enable it?
We are using zephyr rtos . Is hardware cryptography enable and disable is present in zephyr?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-24 6:38 AM
It is a synchronous peripheral, expect you'll need to enable the clocks like you would on any other peripheral.
There's surely some coverage and description in the Reference Manual
STM32Cube_FW_U5_V1.1.1\Projects\B-U585I-IOT02A\Examples\CRYP\CRYP_AES_GCM
Support in an OS would depend on appropriate drivers. The hardware isn't multi-threaded or multi-context, so you'd have to arbitrate usage.
Up vote any posts that you find helpful, it shows what's working..
