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

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
  • 636 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
  • 497 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
  • 598 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
  • 1007 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
  • 1272 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
  • 500 Views
  • 0 replies
  • 0 kudos

Not able to read AES256 encrypted data from microcontroller using UART. I am used the STM32L442KC microcontroller. I am new for AES Encryption / Descryption.

I am using atolic truestudio 9.3 . myplaintext is a[1]={97}; uint8_t ciphertext [32]; my code is below, uint32_t retval=HAL_CRYP_AESECB_Encrypt(&hcryp, plaintext, 8, ciphertext, 5);  if(retval==0)  {  HAL_UART_Transmit(&huart1,(uint8_t *)...

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