Ask questions and find answers on STM32 security frameworks and tools, including cryptographic libraries, TrustZone, and the Secure Manager.
I would like to use the RNG of the H743ZI2. The provided example works, but on a new project I can't get it work, The CPU clock is configured to 400MHz just like in the example./* RNG Initialization */ if (HAL_RNG_DeInit(&hrng) != HAL_OK) { /* ...
I want to apply Read Protection to the STM32L552CCT6 .If you execute HAL_FLASH_OB_Launch(); after setting Read Protection, reboot does not work.Read Protection is applied only when the power is physically rebooted.I want Read Protection to be appli...
Background:I am working on a project that uses the STM32H7B0 processor on a custom board. The firmware is loaded by ST SBSFU bootloader STM32CubeExpansion_SBSFU_V2.4.0. I have used 2_Images_ExtFlash example as a template, and our firmware is stored a...
HiWhat is the maximum Stack and Heap size of a STM32G474VE with the SBSFU Bootloader 2 Image version?In the icf file the settings are at 0x400 and 0x200 which is really low./*-Sizes-*/ define symbol __ICFEDIT_size_cstack__ = 0x400; define symbol __IC...
Hi,In static HAL_StatusTypeDef CRYP_TDES_Process(CRYP_HandleTypeDef *hcryp, uint32_t Timeout){ uint32_t temp; /* Temporary CrypOutBuff */ uint16_t incount; /* Temporary CrypInCount Value */ uint16_t outcount; /* Temporary CrypOutCount Value */ /* En...
The STM32H733VGH6 datasheet specifically mentions "Bootloader with security services support (SFI and SB-SFU)," while the STM32H723VGH6 does not. Does that mean that I can't use encrypted firmware on the STM32H723VGH6?I tried to do some research, but...
HelloIn chapter 22.4.9 of RM0434 Rev6 is stated:Counter: a 32-bit big-endian integer that is incremented each time a blockprocessing is completed. The initial value of the counter must be set to 1.Why can be the initial value of the counter not be se...
Hi All,I am using SBSFU to load my firmware which is running from external flash. The firmware works but seem to be experiencing speed issues on the I2C communications.In an attempt to solve this issue, I am would like to, at start-up copy the code t...
Hi,I find the new chip STM32G0B1 from STM32CubeMX.And I want use this chip with SBSFU 2_Images.But I can not find the STM32G0B1 project from the X-CUBE-SBSFU v2.4.0.Is STM32G0B1 compatible with X-CUBE-SBSFU v2.4.0 ?How do I use STM32G0B1 with SBSFU 2...