Cryptolib RSA Nucleo-L476RG working slow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-29 1:10 PM
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!
- Labels:
-
Cryptography
-
STM32L4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-07 11:09 AM
Hello Jocelyn RICARD,
Unfortunately, it didn't help, the error has changed, now can't find the library file. The path to the library file I tried is both absolute and relative to the workspace.
The error is:
" c:\st\stm32cubeide_1.3.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_1.5.0.202011040924\tools\arm-none-eabi\bin\ld.exe: cannot find -l:STM32CryptographicV3.0.0_CM4_GCC.a "
Best regards, Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-10 10:46 AM
Hello Wladimir,
the issue could be related to too long path.
Could you try moving your project in a directory close to root ?
Otherwise, you could get the last cryptolib patch
The STM32CubeIDE is supported there for the recent STM32 families
Best regards
Jocelyn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-10 12:52 PM
Hello, Jocelyn RICARD,
Found solution of my problem in this topic, check out my latest post:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-10 12:55 PM
If we talk about the original question of this topic, as I understand it, there are no ways to speed up the STM32Cryptolib.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-10 1:58 PM
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

- « Previous
-
- 1
- 2
- Next »