STM32 MCUs Security

Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 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:

todd by Associate
  • 1 replies
  • 0 kudos

STM32F1.. SPI CRC problem

Posted on December 15, 2013 at 21:04Hi, After a few days of experimenting and struggeling my SPI application CRC check somehow still does not seem to work. I'm using the STM32F103ZD uC. Master SPI1 sends data and slave SPI2 receives this data. MOSI/...

random number

Posted on January 15, 2013 at 15:42Hi, I use STM32F107. I have to generate a random number. I don't see how to do it :\ Anybody for help ? #random-number #rng

TLS keys to AES key in STM32F4

Posted on November 22, 2013 at 17:25I'm having trouble bridging the two pools of information I read on the subject of TLS handshakes and the AES cryptographic processor. TLS is an exchange of a server certificate, a client premaster secret, and a pu...

drobison by Associate II
  • 0 replies
  • 0 kudos

Big Endian CRC

Posted on November 12, 2013 at 22:51I would like to use the hardware CRC on the STM32F407 with DMA. However, my data comes in Big Endian, so if I just use the memory to memory DMA setup my CRC does not compute correctly. Is there a way that I can co...

arolin by Associate
  • 4 replies
  • 0 kudos

CRC-16 Calculation

Posted on October 11, 2013 at 12:38Hi all ,Currently i am trying to communicate with Vending machine through DEX protocol via STM32.But i could not calculate accurate CRC-16 byte so i receive always an error.There are many online calculator about cr...

STM32 AES bootloader

Posted on October 07, 2013 at 15:33Couldn't find topic related appnotes ... Is there any? Like Atmel's There has to be a way to make a easy and protected firmware upgrade on STM chips! Or I'm just bad at findi...

CRYP unit not working on ST32F407

Posted on August 29, 2012 at 15:03Hi forum, I'm having trouble getting the CRYP unit working on a ST32F407. First I've tried manually (failed) and -- thinking that I did something wrong -- tried with the ST provided libraries (which also don't work)...