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

sha-1 problem with stm32 crypto lib

Posted on June 14, 2015 at 15:15Hi,I'm developing on the stm32f207 with the M3_CryptoFW_RngHW_2_0_6.libI would like to use the sha-1 from lib but from some reason I do not get the correct result.Here is my test...My input buffer is 8 bytes: 1,2,3,4,...

ari_v2 by Senior
  • 2031 Views
  • 8 replies
  • 0 kudos

STM32 crypto library

Posted on May 19, 2015 at 12:47I am trying out some examples of the crypto library from ST, but its not working the way it should.If I try the AES-CBC192 examples on a STM32F107 (STM3210C eval board),I can verify that the encrypted cipher text is co...

0690X00000605E3QAI.png
brj2 by Associate II
  • 571 Views
  • 1 replies
  • 0 kudos

STM32L0 SPI CRC Error

Posted on April 25, 2015 at 01:18Hi,  I modify the spi sample code but enable CRC function, however I always get CRCERR. I dont know the reason.  Here is the initialization of SPI: SPI2->CR1 |= SPI_BAUDRATEPRESCALER_256; SPI2->CR1 &= ~SPI_CR1_CPOL;...

tianchen by Associate II
  • 569 Views
  • 0 replies
  • 0 kudos

Wrong CRC on STM32F3 at byte-level

Posted on April 08, 2015 at 13:09I'm trying to use the CRC peripheral on STM32F3 to calculate the CRC at byte-level but I can not get the same result as indicated in application note AN4187. The following snippet of code should return a CRC equal to...

RDP level1 is automatically SET on STM32F407 ! STRANGE ISSUE!

Posted on October 16, 2014 at 17:32Hi all,I have a very strange issue with STM32F407ZG; sometimesthe RDP level 1 is automatically set and then using STLink Utilities I can goback to RDP level 0.BUT, Now I get RDP level 1 SET and I can't go toRDP lev...

moez by Associate II
  • 2683 Views
  • 17 replies
  • 0 kudos

STM32F4Cube: PolarSSL client Strange && in RandVal()

Posted on February 27, 2015 at 17:48Dear all,In Cube version of STM32F4, there is a strange code.In PolarSSL/SSL_Client/Src/main.c => RandVal()Is there a reason to use ''&&'' instead of ''&'' in the following line:*(output + offset) = HAL_RNG_GetRan...

Crypto library SHA1 problem.

Posted on February 23, 2015 at 17:51 I am starting using the crypto library and with a STM32F407 device I don't have the hw hash peripheral and I must use the software library My version: M4_CryptoFW_RngHW_2_0_6.a My code ...