-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci] Add CI test for trace filtering
This commit adds a CI test that checks if the TVLA trace filtaring (currently only enabled for aes-byte-specific analysis) works properly. Checked in project traces are artificially polluted in such way that 90% of the traces are unusable. The test checks that at most 100 (out of 1000) traces are used by the TVLA. Signed-off-by: Vladimir Rozic <[email protected]>
- Loading branch information
Showing
8 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[Trace Management] | ||
tracefile0 = ci_opentitan_simple_aes_data/traces/config_2023.09.21-17.29.29_0.cfg | ||
enabled0 = True | ||
[ChipWhisperer] | ||
[[General Settings]] | ||
Project Name = Untitled | ||
Project File Version = 1.00 | ||
Project Author = Unknown | ||
Program Name = ChipWhisperer | ||
Program Version = "" | ||
sample_rate = 200000000 | ||
fpga_bitstream = objs/lowrisc_systems_chip_earlgrey_cw310_0.1.bit | ||
force_program_bitstream = False | ||
fw_bin = objs/aes_serial_fpga_cw310.bin | ||
pll_frequency = 100000000 | ||
baudrate = 115200 | ||
key_len_bytes = 16 | ||
plain_text_len_bytes = 16 | ||
output_len_bytes = 16 | ||
num_samples = 1200 | ||
offset = -40 | ||
lfsr_seed = 3735928559 | ||
batch_prng_seed = 0 | ||
scope_gain = 31.5 | ||
num_traces = 1000 | ||
project_name = projects/opentitan_simple_aes | ||
waverunner_ip = 192.168.1.228 | ||
datetime = "09/21/2023, 17:29:29" |
Binary file added
BIN
+15.8 KB
test/data/tvla_aes_byte/ci_opentitan_simple_aes_data/traces/2023.09.21-17.29.29_0keylist.npy
Binary file not shown.
Binary file added
BIN
+278 Bytes
.../data/tvla_aes_byte/ci_opentitan_simple_aes_data/traces/2023.09.21-17.29.29_0knownkey.npy
Binary file not shown.
Binary file added
BIN
+15.8 KB
test/data/tvla_aes_byte/ci_opentitan_simple_aes_data/traces/2023.09.21-17.29.29_0textin.npy
Binary file not shown.
Binary file added
BIN
+15.8 KB
test/data/tvla_aes_byte/ci_opentitan_simple_aes_data/traces/2023.09.21-17.29.29_0textout.npy
Binary file not shown.
Binary file added
BIN
+22.9 MB
test/data/tvla_aes_byte/ci_opentitan_simple_aes_data/traces/2023.09.21-17.29.29_0traces.npy
Binary file not shown.
13 changes: 13 additions & 0 deletions
13
test/data/tvla_aes_byte/ci_opentitan_simple_aes_data/traces/config_2023.09.21-17.29.29_0.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[Trace Config] | ||
format = native | ||
numTraces = 1000 | ||
numPoints = 1200 | ||
date = 2023-09-21 17:29:29 | ||
prefix = 2023.09.21-17.29.29_0 | ||
targetHW = unknown | ||
targetSW = unknown | ||
scopeName = unknown | ||
scopeSampleRate = 0 | ||
scopeYUnits = 0 | ||
scopeXUnits = 0 | ||
notes = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters