cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F777: Which AES algorithm to use?

harry anders
Associate II
Posted on July 05, 2018 at 15:30

Hi, I am working on a project where I need to receive sensitive encrypted information from the internet and save them on an SD card. The data is then decrypted from SD card when needed and stored in the internal Ram of the MCU. Since this is the firs time I am handling decrypted data, I don't know what chaining mode to use! The STM32F777 supports these modes:

• Electronic Code Book (ECB)

• Cipher Block Chaining (CBC)

• Counter Mode (CTR)

• Galois/Counter Mode (GCM)

• Galois Message Authentication Code mode (GMAC)

• Counter with CBC-MAC (CCM)

The files I am working with range from about 100Kbytes to 300Kbytes in size. They are loaded into external ram from the SD card and decrypted data is directly fed into internal ram. So, which mode should I use and what are the advantages and drawbacks?

Kind Regrads

0 REPLIES 0