cancel
Showing results for 
Search instead for 
Did you mean: 

how to enable hardware cryptography for nucleo-u575zi_q / nucleo-u585ai board?

aR.1
Associate

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

3 REPLIES 3

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
aR.1
Associate

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?

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..