STM32 MCUs Security

Ask questions and find answers on STM32 security frameworks and tools, including cryptographic libraries, TrustZone, and the Secure Manager.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

AES Cryptolib encrypted data doesn't decrypting by any other libraries on other platforms except Cryptolib itself

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 ...

Wladimir by Associate II
  • 1586 Views
  • 2 replies
  • 0 kudos

SBSFU Algorithms

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...

0693W00000Ka2TWQAZ.png 0693W00000Ka2ZtQAJ.png
stsan.1 by Associate II
  • 896 Views
  • 2 replies
  • 0 kudos

Resolved! I'm not able to make working the NUCLEO-L432KC example

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...

GMG by Associate III
  • 949 Views
  • 2 replies
  • 0 kudos

Resolved! STM32G0 CRC16 mismatch.

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...

FRieb.1 by Associate III
  • 1910 Views
  • 7 replies
  • 0 kudos

Resolved! Serial DFU of Secure Firmware Fails

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...

MBand.3 by Associate III
  • 763 Views
  • 1 replies
  • 0 kudos

Resolved! STM32H753 with "secure area": how to un-brick?

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.

Pavel A. by Super User
  • 600 Views
  • 1 replies
  • 0 kudos

CRC Calculation for 8-bit values

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...