STM32 MCUs Security

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Correct HAL APIs for Crypto AES mode

Posted on July 12, 2018 at 13:43Hi, I am trying to use CRYP_AES_GCM example from STM32Cube_FW_F7_V1.11.0 for stm32f769I-eval.  I see, stm32f7xx_hal_cryp.c has two set of APIs. By default the APIs under ' &sharpif defined (CRYP)  ' are enabled. and t...

Resolved! How to write a code after RDP level 1 ?

Posted on June 23, 2018 at 08:49HelloI am using stm32l152rc controller and I am trying to load a code using a dfusedemo application and during that time my flash  is on RDP level 1.With help of msp my code jump to location 0x1FF00000 which is locati...

Python and CRC8 verification

Posted on July 03, 2018 at 10:11 Helo friends, I try calculate CRC8 in python and compare with CRC in STM And I have a problem. My python CRC is return wrong value. Python script: def AddToCRC(b, crc): b2 = b for i in xrange(8): od...

Is Read-out-protection Level1 compatible with IAP ?

Posted on June 25, 2018 at 19:53For a customer I want to set RDP Level1 on STM32F4, and put in first sector a bootloader that manager a jump to DFU for device upgrade.I set the RDP L1 by code at init, and disable it with STMCubeProgrammer.Will the I...

How to enable debug mode for SBSFU?

Posted on February 05, 2018 at 11:12Dear All,I have some questions related to  ♯?:1) How to enable ♯ for ♯ boot-loader and for user application?2) Since I was not able to find an information how to make a ♯ and remove ♯ from the MCU (STM32L476) I wo...

X-CUBE-CRYPTOLIB AES CTR

Posted on May 14, 2018 at 10:07Hi,Does anyone knows how the counter is handled in AES_CTR_Encrypt_Init() / AES_CTR_Encrypt_Append().I suppose it is somewhere in the IV, but the documentation does not talk about it.The examples use an IV initialised ...

STM32F0 read out protection problem

Posted on March 30, 2017 at 10:13Hi,I would like to use a software read protection on STM32F0. I've made such a function:PROTECT_STATUS ReadProtectionConfig(uint8_t ProtectionLevel){ uint8_t status = OK; FLASH_OBProgramInitTypeDef OB_Init; HAL_FLASH...

How to check if the MCU suppot hardware crypto?

Posted on May 12, 2018 at 05:54My device use STM32f437VG (which supports hardware crypto) but sometimes we cannot buy it and use STM32F427VG (which NOT support hardware crypto) instead.So my program have to check if the MCU is 437 or 427 to use prop...

vuahoa07 by Associate II
  • 1098 Views
  • 4 replies
  • 0 kudos

AES128 HW_TIMEOUT error code

Posted on May 11, 2018 at 14:41Hi!I'm struggeling with hardware accelerated aes algorythim. Based on example project I've enabled CRC clock and initilzed the operation, by passing the key (AccHw_AES_CFB_Encrypt_Init(&, , )). After that I'm trying en...

Resolved! STM32F103: unlock RDP without reset

Posted on May 10, 2018 at 00:37Hi, people!how can i reset Read Out Protection on F103 series WITHOUT Power-off and reset??HAL_FLASH_ob_launch --> it is reset (and hold MCU).1. I set the LEVEL from 1 to 0 in subprogramm. All ok. Flash erased, all FF....