Skip to main content
dk_it
Associate
Jun 10, 2019 7:17 AM UTC
Solved

Implementing encryption on the STM3240G-EVAL board

I'm aware that the STM3240G-EVAL doesn't have a hardware crypto processor, but is it possible to create a software algorithm to do the encryption? Possibly using the X-CUBE-CRYPTOLIB library?

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Jun 11, 2019 1:41 AM UTC

C is pretty universal in application, ARM assembler isn't far off

https://github.com/kokke/tiny-AES-c

https://opensource.apple.com/source/CommonCrypto/CommonCrypto-55010/Source/AESedp/AES.c.auto.html

https://github.com/Ko-/aes-armcortexm

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..

4 replies

Tesla DeLorean
Guru
Jun 10, 2019 8:32 AM UTC

Sure, or use one of the thousands of examples on the interwebs.​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
dk_it
dk_itAuthor
Associate
Jun 11, 2019 1:23 AM UTC

Oh ok! Do you know any that might be compatible with the STM32F407 MCU?

Sorry I'm having trouble finding an example :(

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Jun 11, 2019 1:41 AM UTC
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
dk_it
dk_itAuthor
Associate
Jun 11, 2019 2:12 AM UTC

Oh ok thanks!!