Skip to content
Advertisement

Chipwhisperer TVLA has errors in site-packages

I’m trying to use the TVLA assessment provided by Chipwhisperer on my FPGA board. (Clone of the repo tagged as 5.1.3) They provide the PA_TVLA_1-Performing_TVLA_Testing_for_Crypto_Validation.ipynb Jupyterplaybook for that. I modified it to initialize the FPGA but the rest of the flow is identical being the capturing of the traces and analyzing them.

The code which does the analysis and errors out.

JavaScript

When I run this code I get the following errors:

JavaScript

I don’t really understand what is going wrong, it seems to be some kind of parameter passing, but it is in the library itself so I’m expecting that something changed?


Update: Contents of project.traces:

JavaScript

Contents of project.waves[0] where waves is an <chipwhisperer.common.api.ProjectFormat.IndividualIterable object at 0x7fe48203b350>

JavaScript

Sample contents of project.textins[0]

JavaScript

The cw object is imported as import chipwhisperer as cw and is part of the chipwhisperer libary. It’s function here is to allow for the traces that are already captured to be loaded into a set of arrays.

Advertisement

Answer

pip install --upgrade holoviews fixed the issue.

for the VM users facing the error, this won’t work: Jupyter will crash at boot. I recommend downloading the “ChipWhisperer.Jupyter.holoviews.7z” VM on the release page (release tagged 5.5).

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement