Skip to main content
Wladimir
Associate II
Apr 29, 2021 8:10 PM UTC
Question

Cryptolib RSA Nucleo-L476RG working slow

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.

14 replies

Jocelyn RICARD
ST Employee
May 10, 2021 8:58 PM UTC

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