Resolved! CRYPT module
Hi Good day, Trying to understand the CRYPTO module for MAC generation, particularly AES CBS MAC. Which algorithm mode i have to choose?, found AES CBC not AES CBC MAC.
Ask questions and find answers on STM32 security frameworks and tools, including cryptographic libraries, TrustZone, and the Secure Manager.
Hi Good day, Trying to understand the CRYPTO module for MAC generation, particularly AES CBS MAC. Which algorithm mode i have to choose?, found AES CBC not AES CBC MAC.
Hi,I´m trying to implement a simple ECDH test by implementing the functions from the Cryptographic Library V4.2.0.There are two persons A and B generating a pair of private and public keys. The keys are generated by the cmox_ecdsa_keyGen(...) functio...
Hi, how to do signature verification in stm32u575 with RSA-2048?
Hello everyone,i am trying to enable the secure user memory on the stm32h743 using the x-cube-sbsfu project and have the following problem:After activating the security bit, the value of the OPTSR_PRG flash register is not changing, so the security b...
Hello. I'm trying to obtain CRC value from CRC peripheral. It's supposed to give me 8 bit number. Instead it gives me 32 bit number. What am I doing wrong? Below is the code and program outputs. /* USER CODE BEGIN Header */ /** ********************...
HiWhen I was returning from RDP level 1 to 0 the stm32cube programmer program crashed and now every time I try to access the microcontroller several different cases happen:1- Connect and instantly lose the connection giving the next error: Error: Dat...
Hello,I am using the X-CUBE-SBSFU package with the KMS to perform firmware update on my ST MCU.To verify the authenticity of the firmware I use ECDSA. However, I don't understand why I only need to provide a private key but not the public key. If I u...
Hi,I'm using STM32CubeExpansion_Crypto_V4.0.1 library for verifying a signed firmware file on STM32F7 controller. The key-pair has been generated using openssl command-line. The firmware has been signed using the private key (PEM). The signature has ...
I'm successfully implemented IAP for stm32h745. so I wish upgrade to sbsfu.Sbsfu has security firmware upgrade. When i implement for IAP, Firmware file was merged cm4, cm7 binary file using Srecord.If I merge files, won't the integrity of the firmwar...
Hi Team,I am working on a project involving the STM32H5 microcontroller and I am in need of information on how to manage the keys securely for encryption and decryption. I have been unable to find a document that covers this topic specifically for th...