Skip to content

Commit

Permalink
[ci] Test dolos
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Nasahl <[email protected]>
  • Loading branch information
nasahlpa committed Oct 16, 2023
1 parent 7759e1e commit c633401
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ci/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
set -e
pushd ci
./ci_check_tvla_aes.sh
../cw/tvla.py --cfg-file cfg/ci_tvla_cfg_aes_specific_byte0_rnd0.yaml run-tvla
../cw/tvla.py --cfg-file cfg/ci_tvla_cfg_aes_specific_byte0_rnd0.yaml run-tvla
popd
displayName: "Check AES TVLA"
- publish: ./ci/tmp/figures
Expand Down
12 changes: 11 additions & 1 deletion ci/ci_check_aes_traces.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# SPDX-License-Identifier: Apache-2.0

# Simple script to test AES capture.
set -e
mkdir -p tmp

# AES
Expand All @@ -19,7 +20,16 @@ for test in ${!aes_test_list[@]}; do
NUM_TRACES=${aes_test_list[${test}]}
../cw/capture.py --cfg-file cfg/ci_capture_aes_cw310.yaml capture ${test} \
--num-traces ${NUM_TRACES} ${ARGS}

rc=$?
if [ $retVal -ne 0 ]; then
exit $retVal
fi
./ci_trace_check/ci_compare_aes_traces.py -f ./ci_projects/opentitan_simple_aes.cwp \
-g ./ci_trace_check/golden_traces/aes_128_ecb_static.zip -c 0.8
rc=$?
if [ $retVal -ne 0 ]; then
exit $retVal
fi
mv ./ci_projects/sample_traces_${MODE}.html tmp/${test}_traces.html
ARGS=""
done
1 change: 1 addition & 0 deletions ci/ci_check_tvla_aes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# SPDX-License-Identifier: Apache-2.0

# Simple script to test AES capture.
set -e
mkdir -p tmp

# AES
Expand Down
2 changes: 1 addition & 1 deletion python-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ joblib
# Development version of ChipWhisperer toolchain with latest features and
# bug fixes - Needs to be installed in editable mode. We fix the version
# for improved stability and manually update if necessary.
-e git+https://github.com/newaetech/chipwhisperer.git@3eace1719daf43d4f0965c1790c2c8a9e8b2f690#egg=chipwhisperer
-e git+https://github.com/newaetech/chipwhisperer.git@c5181a87111d3aabab42d83b10dbc368140b43ef#egg=chipwhisperer

# Linters
-r python-requirements-lint.txt
Expand Down

0 comments on commit c633401

Please sign in to comment.