Skip to main content
Associate II
November 8, 2023
Solved

Generate key pair geneartion

  • November 8, 2023
  • 1 reply
  • 1745 views

 Am using Nucleo-STM32H573 Board.   i wanted to generate a pair of public and private keys.  Guide me

This topic has been closed for replies.
Best answer by STea

Hello @RKOAS ,

depending on the asymmetric cryptographic algorithm you can generate a key per via openssl you will find in this lab this method done with STM32wb55 it should be the same for the H5 as well .

you can also generate a key pair with python script  i will provide you with the script in the attached files this script also generates a random message in c format which you can incorporate into you project to test the sign and verification with RSA algorithm .

BR 

1 reply

STeaBest answer
ST Employee
November 8, 2023

Hello @RKOAS ,

depending on the asymmetric cryptographic algorithm you can generate a key per via openssl you will find in this lab this method done with STM32wb55 it should be the same for the H5 as well .

you can also generate a key pair with python script  i will provide you with the script in the attached files this script also generates a random message in c format which you can incorporate into you project to test the sign and verification with RSA algorithm .

BR