Ask questions and find answers on STM32 security frameworks and tools, including cryptographic libraries, TrustZone, and the Secure Manager.
Hello everyone! I encrypt the data with the AES-256 ECB algorithm using the X-Cube-Cryptolib library, while the library itself can decrypt the data correctly, and third-party libraries decrypt it incorrectly. I use 32 random bytes as the key.I tried ...
Hi All,Currently I used SBFU solution to develop project , I had checked the AN2262 that descript SBSFU support below picture.1.My question is how to enhance below encryption strength or any application I could reference, does it need modify SE engi...
Hi!Can someone explain to me why this code:// Is FLASH_CR register locked for writing? if (FLASH->CR & FLASH_CR_LOCK) { // Unlocking FLASH_CR register FLASH->KEYR = KEY1; FLASH->KEYR = KEY2; } // Unlocking FLASH option register if (FLASH->CR & F...
I wont to test the L432KC example on a NUCLEO-L432KC board"\SBSFU\STM32CubeExpansion_SBSFU_V2.6.0\Projects\NUCLEO-L432KC\Applications\1_Image"I have created correctly a new workspace and imported the necessary projects. All compiles fine and I get "S...
Hi,I am trying to run the CRC calculation with the STM32G031 but the results do not match. The result of the CRC16_CCITT_FALSE should be 0x29B1 according to http://www.sunshine2k.de/coding/javascript/crc/crc_js.html but I get 0x277F.You can find my i...
I'm attempting to use the serial bootloader to load a secure firmware image to an STM32L5 using STM32CubeProgrammer. I can successfully connect to the board in bootloader mode and perform a full-chip erase, but attempting to download the image (eithe...
So I have a STM32H753 with active "secure area" - but the code in the secure area is buggy and hangs before jumping outside.Is there a way to erase the MCU and recover, or it is bricked?No RDP is set.
I am experimenting with CRC Calculation on a STM32F4-Discovery.As I have seen in the reference manual this MCU is using CRC-32 used in Ethernet. I am also using https://crccalc.com/ (CRC-32/MPEG-2) to validate the results.I just activate the CRC in C...