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

CRC only up to 8kB Flash instead of 16kB

Posted on October 28, 2014 at 17:38I want to calculate a CRC over the whole Flash Memory (16kB) of a STM32F030F4. I works fine up 8kB. Putting Values >8192 for BufferLength into CRC_CalcBlockCRC(uint32_t pBuffer[], uint32_t BufferLength). The progra...

klaus2 by Associate II
  • 1091 Views
  • 5 replies
  • 0 kudos

size of intvec in STM32F205

Posted on October 24, 2014 at 23:18I want to use the CRC example of IAR ''ROM size save with CRC32 Note 52791'' from my Boot.The problem is that the intvec area set on start of the APP ROM but don't get into the CRC calculation.Today I see that the ...

Barbie by Associate II
  • 688 Views
  • 2 replies
  • 0 kudos

Calculate and check CRC over bin file STM32F205

Posted on October 20, 2014 at 13:51I want to make a CRC check over the APP  FLASH area (I use a BIN file) to know that my APP update O.K.For that I have some question.1. Does the IAR has an option of giving me the CRC of he BIN file I made ?2. How c...

Barbie by Associate II
  • 1055 Views
  • 3 replies
  • 0 kudos

Read protection with over-the-air updates?

Posted on October 14, 2014 at 17:39I am trying to figure out a way to secure a small section of user data on the STM32F437, and keep it in place during reflashing the device. I ideally want to be able to make it so this data is read protected, but t...

cns1307 by Associate II
  • 782 Views
  • 2 replies
  • 0 kudos

ECC example in CRYP-LIB with STM32 F407

Posted on July 02, 2014 at 08:54Hello, I have tried ECC_KeyGeneration_SignatureVerification example in STM32-CRYP-LIB with STM32 F407 (toolchain is IAR) But, when ''Generate ECC key pair'' be executed, the status be changed to FAILED (value:6002 RNG...

AES Decryption on STM32W

Posted on June 04, 2012 at 02:59Hi:   From simpleMAC & datasheet, it mentioned the STM32W has AES encryption h/w module & API.   But how about AES decryption?   It takes long time to fulfill this function in software. And i think it is quit strange...

mingjong by Associate
  • 1870 Views
  • 8 replies
  • 0 kudos

AES CMAC encryption returning bad_context error

Posted on February 10, 2014 at 17:32Hello,I'm currently implementing AES CMAC crypto using the STM32 crypto library from ST and I'm unable to get the example code to work without returning an error.  I'm using an STM32F103.The example encrypt routin...

IAP when Flash RDP?

Posted on February 26, 2014 at 17:46 Hi! I'm coding for a IAP program using standard procedures as follows: //normal startup JumpAddress = *(__IO uint32_t*) (ApplicationAddress + 4); Jump_To_Application = (pFunction) JumpAddress; __s...

l9tsong by Associate
  • 765 Views
  • 1 replies
  • 0 kudos

STM32F Cryptographic library package (HW accelerated)

Posted on January 31, 2014 at 23:17I have a question about the HW crypto acceleration in the STM32F4 family.  According to Note 2 on p.12 in the STM document ''STM32 Cryptographic Library Package Presentation'' (see here: http://www.st.com/st-web-ui...

todd by Associate
  • 803 Views
  • 1 replies
  • 0 kudos