2022-08-03 04:22 AM
Hi All,
I have an application running on STM32F439 based controller board. And I am planning to use external SRAM.
I wanted to know, how we can protect the data in external SRAM ?
Or any suggestion on using external SRAM with assumption of security.
Thanks!!
2022-08-03 04:55 AM
External SRAM has exposed all data and address pins, so if the adversary has physical access, there's no way to prevent observing or actively reading out data.
But security is a wide topic. You can for example prevent physical access by encapsulation+tamperproofing, then the question reduces to securing the code. Or you can encrypt/decrypt data, but then it's upon you to judge whether encrypted data may leak relevant information and/or how to tamper-proof them.
JW
2022-08-03 05:08 AM
Consider different parts with enough internal memory to do the job. Or just put data in SDRAM the user can see anyway, like a frame buffer, or data as it comes over the network.
2022-08-03 06:35 AM
Thanks @Community member it was a great insight.
2022-08-03 06:36 AM
Thanks @Community member for the input.
Its a great help.