Skip to main content
Wladimir
Associate II
April 29, 2021
Question

Cryptolib RSA Nucleo-L476RG working slow

  • April 29, 2021
  • 11 replies
  • 2454 views

Hello to all!

Using X-Cube-Cryptolib for RSA algorythm on Nucleo-L476RG board, encryption and subsequent decryption of demo message going very slow - 2 seconds, its mostly decription, i using hardware timer2 for time measuring.

Is there any ways to reduce decription time?

Best regards!

This topic has been closed for replies.

11 replies

Jocelyn RICARD
ST Employee
May 10, 2021

Hi Wladimir,

ok good you solved your issue.

Regarding speed, normally clock cycles used divided by your actual frequency should lead in the resulting time with small error margin.

So, if you have same conditions as for benchmarks you should get same results.

Best regards

Jocelyn