From f77ecedc6dbeb7a1ca25872b2de149cc211a0a46 Mon Sep 17 00:00:00 2001 From: Pirmin Vogel Date: Fri, 12 Jan 2024 13:42:14 +0000 Subject: [PATCH] [ci] Add job for byte-specific AES TVLA and with multiple steps This is related to lowRISC/ot-sca#287. Signed-off-by: Pirmin Vogel --- ci/azure-pipelines.yml | 10 ++++++++++ ...la_cfg_aes_specific_byte_0_15_rnd_0_1.yaml | 19 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 ci/cfg/ci_tvla_cfg_aes_specific_byte_0_15_rnd_0_1.yaml diff --git a/ci/azure-pipelines.yml b/ci/azure-pipelines.yml index d8febbb8..cb16d274 100644 --- a/ci/azure-pipelines.yml +++ b/ci/azure-pipelines.yml @@ -154,6 +154,16 @@ jobs: - publish: ./ci/projects/aes_sca_random_cw305.html artifact: traces_aes_random_cw305 displayName: "Upload AES Random traces" + - bash: | + set -e + pushd ci + ../analysis/tvla.py --cfg-file cfg/ci_tvla_cfg_aes_specific_byte_0_15_rnd_0_1.yaml run-tvla + popd + displayName: "Perform specific TVLA on AES Random traces" + continueOnError: True + - publish: ./ci/tmp/figures + artifact: tvla_figures_aes_specific + displayName: "Upload figures of specific TVLA for AES." - job: kmac_sca_capture_cw310 displayName: "Capture KMAC SCA traces (CW310)" timeoutInMinutes: 30 diff --git a/ci/cfg/ci_tvla_cfg_aes_specific_byte_0_15_rnd_0_1.yaml b/ci/cfg/ci_tvla_cfg_aes_specific_byte_0_15_rnd_0_1.yaml new file mode 100644 index 00000000..c9d76ed2 --- /dev/null +++ b/ci/cfg/ci_tvla_cfg_aes_specific_byte_0_15_rnd_0_1.yaml @@ -0,0 +1,19 @@ +project_file: projects/aes_sca_random_cw305 +trace_file: null +trace_start: null +trace_end: null +leakage_file: null +save_to_disk: null +save_to_disk_ttest: true +round_select: [0, 1] +byte_select: [0, 15] +input_histogram_file: null +output_histogram_file: null +number_of_steps: 4 +ttest_step_file: null +plot_figures: true +general_test: false +mode: aes +filter_traces: false +sample_start: 0 +num_samples: 300