Hi, I want to perform a side channel (DPA, CPA or template, not sure which is best!) of the multiply operation of the STM32F4 target, using the CW-LITE board. I am just a bit confused on how to get started. I’ve done the tutorials, but they seem very hard coded for the AES target. I want to do the same thing for the multiplication operation and figure out the operands from several traces.
So if i modify one of the ‘simple-serial’ files, I can substitute my own operation (i.e., multiply) there but then how do I ‘trigger’ it from python. I’ve been using the jupyter notebook so far and that uses specific functions such as ktp.next() to create another key,value pair. How can I do the same for the multiply operation? Hopefully someone better versed in CW will be able to give me some pointers! many thanks!