Hello,
I am working on tutorial B5 breaking the AES straightforward. I have the following queries and would be very grateful if anybody can help me clarify those:
How do I know the actual encryption key of the target board ( xmega 308t with the 308 ufo board in my case)? According to wiki the board doesn’t have the encryption key in the hardware. So, how we are proceeding in our tutorial.
Can you please explain how we are collecting the power trace in terms of hardware? I want to know from which resistor we taking the measurement?
What is the value of the R7 resistor in the target board? I am not getting it seeing the BOM.
The key is provided each time you run caputre_traces, eg:
from tqdm import tnrange
ktp = cw.ktp.Basic()
for i in tnrange(num_traces, desc='Capturing traces'):
key, text = ktp.next() # manual creation of a key, text pair can be substituted here
trace = cw.capture_trace(scope, target, text, key)
if trace is None:
continue
project.traces.append(trace)