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

Read protection on STM32 chip

Read Protection has been set in the STM32 chip .In this case, how to judge the chip is in the read protection state through the bootloader program of the chip.I now is to send the erase instruction, if return NACK, judge chip is in the read Protectio...

忠余.1 by Associate II
  • 1050 Views
  • 5 replies
  • 0 kudos

About CRCSIZE setting in STM32H7 SPI peripheral

I am confused about the setting of the SPI CRC functionality: it is not clear what CRCSIZE is doing and how to set it. I understand that to get a N bits CRC you have to choose a N+1 bits polynom, but why is the length of the CRC not deduced from the ...

Gpeti by Senior II
  • 714 Views
  • 3 replies
  • 0 kudos

what will be the source file path for x-cube-cryptolib-master for AES256 Encryption . I Used Atollic truestudio for CubeMax gererated code. I Download x-cube-cryptolib-master from ST.com

Not able to access some function definition for AES256 . I am using Atolic true studio for cubeMx generated Code. I used STM32L442KC MicrocontrollerI Added crypto library using below steps .open properties of project and in C/C++ general>Paths and Sy...

STAR by Associate II
  • 535 Views
  • 0 replies
  • 0 kudos

Resolved! Should SFU_LL_Flash_Write be aligned to 64 or 32 bit?

In the code it says the following:/** * @brief This function writes a data buffer in flash (data are 32-bit aligned). * @note After writing data buffer, the flash content is checked. * @param pFlashStatus: FLASH_StatusTypeDef * @param pD...

Arno1 by Senior
  • 645 Views
  • 1 replies
  • 0 kudos

Resolved! Require authentication for firmware update

I started a new project, and my security requirement states that user authentication is required when updating firmware.I wonder if there's a feature for this, and if not, can the bootload side be modified to meet this requirement?I searched and foun...

DPark.2 by Associate II
  • 1141 Views
  • 4 replies
  • 0 kudos

How can I get Atollic to append a CRC to the flash image?

IAR would fill unused flash and optionally append a crc to aid with the integrity check some of us need to do for regulatory compliance But since IAR's been replaced what provisions are in Atollic to fill unused flash and optionally append a crc? Is ...

n2wx by Senior
  • 1368 Views
  • 6 replies
  • 0 kudos

Please Let me know correction in below code or this code is correct or not . I am doing first time in AES256 Security . any help is highly appreciated .

I wants to encrypt 8bits of data using AES256 Security with STM32L442KC . And sending Encrypted data through UART. I am confused in code that code is correct or not....please let me know any correction in this code. I am using Atolic true studio.u...

STAR by Associate II
  • 547 Views
  • 0 replies
  • 0 kudos