Simple Serial commands


#1

Good morning everybody,

I am trying to understand what is the meaning of the command “h” in the SimpleSerial docs. On the wiki is written that you can “Select stack / hardware to use (if supported)”, but what are the eligible values?

Thanks and have a nice day!


#2

Hi,
Others may know the history better than I do but I think it’s intended for targets which contain, for example, multiple AES implementations, to allow selecting which implementation to use.

The example firmware (e.g. hardware/victims/simpleserial-aes/) allows to select one AES implementation at compile-time, but you can see that it wouldn’t be hard to extend that to build multiple implementations in one image, then use the ‘h’ command to select the active implementation at run time.

Jean-Pierre