Tutorial A5 Breaking AES-256 Bootloader Issues

Hi there,

I was following the tutorial up until the 13th round key where I hit a problem. This is the last step I followed

However, I keep getting this error:

Traceback (most recent call last):
  File "/home/triss/chipwhisperer/software/chipwhisperer/common/api/CWCoreAPI.py", line 393, in runScriptClass
    m = scriptClass(self)
  File "/home/triss/chipwhisperer/projects/test256.py", line 42, in __init__
    self.initAnalysis()
  File "/home/triss/chipwhisperer/projects/test256.py", line 58, in initAnalysis
    self.attack.setAnalysisAlgorithm(CPAProgressive, AES256Attack, None)
Warning: Could not execute method run in script class UserScript: 'TypeError: setAnalysisAlgorithm() takes at most 3 arguments (4 given):setAnalysisAlgorithm() takes at most 3 arguments (4 given)'

Program Version = V3.2.0

Zoe, thanks for pointing this out! This function got changed in October, but we forgot to update the tutorial. I’m not totally sure how to fix it - I’ll see if I can sort things out…

I’ve changed a couple of things in the tutorial to match the new API. Does this fix your problems?

Hi, Thank you, it works now :slight_smile: