Skip to main content
aR.1
Associate
November 24, 2022
Question

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

  • November 24, 2022
  • 2 replies
  • 1013 views

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

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
November 24, 2022

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 VenmoUp vote any posts that you find helpful, it shows what's working..
aR.1
aR.1Author
Associate
November 24, 2022

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?

Tesla DeLorean
Guru
November 24, 2022

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 VenmoUp vote any posts that you find helpful, it shows what's working..