Ask questions and find answers on STM32 security frameworks and tools, including cryptographic libraries, TrustZone, and the Secure Manager.
Hello to all,I am using a STM32H743 and create a SPI master (SPI4) and a SPI slave (SPI2). I have connected the pins used (including NSS). For receiving and transmitting I use DMA in both parts, master and slave. The configuration was done with STM32...
Hello,is there any example of a TFM application that is supported by STM32CubeIDE?I came across the iot-reference-stm32u5, but the structure of the project is way different from any other TrustZone and TFM examples available as part of the STM32CubeU...
Hi,I want to compute APP's hash (SHA256) from my Bootloader using DMA.I have 3 non adjacent zone to process the HASH.If I use one node and call HAL_HASHEx_SHA256_Start_DMA inside HAL_HASH_InCpltCallback, I can compute my HASH.I hope I can use link li...
Dear Team,I want use inbuild AES encryption engine to encrypt the data, therefore I used CubeMX to initialize the AES engine, when i'm going to encrypt the payload, it stuck in static HAL_StatusTypeDef CRYP_WaitOnOFNEFlag(CRYP_HandleTypeDef *hcryp,...
the link : https://wiki.st.com/stm32mcu/index.php?title=Security:How_to_implement_HKDF_with_the_Cryptographic_library&oldid=11796&diff=prev#HKDF_implementation_example_using_HMAC-SHA256_Cryptographic_library_services .my questions is first, once I ad...
The STM32H753 has 2 CRCs. One global CRC and one specific for Flash memory.I think it is possible to use the global CRC for flash memory right ? The benefit would be to use a different polynom than the one from Flash CRC.is it possible to have an ide...
Hello,I am working on an IoT security project, where a TPM like STSAFE-A110 is required for signature verification and data decryption. The latter fails with the mentioned chip and the static (non-ephemeral) private key.Setup:X-NUCLEO-SAFEA1 board (w...
Hello,I am trying to start a debug session with STM32CubeIDE v1.11.2 on my board locked on RDP 0.5.I loaded a valid secure firmware which jumps into the non-secure firmware before setting RDP 0.5.I could connect STM32CubeProgrammmer and flash the non...
Hey guys, I want to perform a firmware upgrade over the air. And use a UART to connect to IoT device.I use stm32l431xx and it contains hardware for symmetric encryption. And the host device which sends the binary uses stm32l496 has SBSFU.So I have a ...