2022-12-23 02:19 AM
Hi,
I want to test RSA signing and verification on the STM32. I found STM32CubeExpansion_Crypto_V4.0.1 with some RSA signing and verification example for NUCLEO-H743ZI. I want to port this application for NUCLEO-H7A3ZI.
How can I port the application for NUCLEO-H743ZI ? Please share porting documents if available.
Thanks,
Ikbal
2022-12-23 09:35 AM
Hello @Ikbal ,
I have just realized that there is a confusion. Thank you for the clarification @Community member.
As I can see, on CubeMX Pinout compatible MCU, it needs HW changes as well.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2022-12-23 10:04 AM
The OP is asking about the software library, the H743 doesn't have HW Crypto either.
Suggest make a donor project for the H7A3, have that compile, output diagnostics, and then merge in the other code and components.
2023-01-02 06:24 AM
Hello @Ikbal ,
In crypto examples, there is no specific dependency of the crypto part with the chip
In the examples, you have 2 dependencies
1) chip dependency : you need to adapt the system clock configuration
2) board dependency: this is only for LED access.
You have 2 possible solutions: Either update the example and change the clock config and LED, or create a clean empty project based on your target, and copy paste only the crypto part.
In first case, you can copy the clock configuration from a H7A3 example for instance. For LED access you will need to include the bsp files of your target.
In second case, you can start from another example, an empty template or generate an initial project with CubeMX.
Then just copy paste the relevant crypto content from STM32H743 example to your STM32H7A3 project.
Then , you will need to add the crypto library in the linker setup. You can check how to do it in original example.
Best regards
Jocelyn
2023-01-02 08:47 PM
Hello @Jocelyn RICARD ,
I have successfully completed the porting. I tested with RSA example and it is working fine.
Now I am porting the STM32CubeExpansion_Crypto_V4.0.1 on the SBSFU for RSA verification. Now I am facing deferent kind of problem.
I have posted the problem in another thread. Here is the link for the thread.
I need help in the above thread.
Thanks,
Ikbal