STM32U585 takes 13 seconds to compute RSA for TLS handshake
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-11 11:53 AM
I'm evaluating the STM32U585 TLS performance using the eval board B-U585I-IOT02A. The example application code for MQTT using TLS did not include code on how to load a client key for client authentication but I was able to add that in. The problem I see now is that when using private key the MCU takes 13 seconds to do the RSA computations during the handshake with the server to setup the connection. I track the delay to the following function _nx_crypto_huge_number_mont_power_modulus
Why does this take so long? Does the MCU have hardware acceleration that handles this and is just not being used? Is there something else that I'm doing wrong?
- Labels:
-
STM32U5 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-12-03 9:29 AM
Hello @RCost.1​
yes the STM32U5 version used in the B-U585I-IOT02A embeds a Public Key Accelerator. The implementation of the connection to this accelerator is ongoing and should be available on next release.
Best regards
Jocelyn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-12-03 11:56 AM
Is there a schedule for the release or can I be notified when the release happens?
Thanks,
Rui
