@@ -20,6 +20,9 @@ quit_renode() {
2020
2121rm -f $RENODE_UART
2222
23+ #
24+ # LMS and ext_LMS
25+ #
2326if (echo $TEST_OPTIONS | grep " LMS" & > /dev/null); then
2427 # Need git.
2528 apt install -y git
@@ -28,7 +31,10 @@ if (echo $TEST_OPTIONS | grep "LMS" &>/dev/null); then
2831 # add the wolfssl module as a safe directory so docker can use it.
2932 git config --global --add safe.directory /workspace/lib/wolfssl || exit 2
3033 cd lib/wolfssl && git checkout master && git pull && cd ../.. || exit 2
34+ fi
3135
36+ if (echo $TEST_OPTIONS | grep " ext_LMS" & > /dev/null); then
37+ # Extra steps needed for external LMS support.
3238 # Need to clone the hash-sigs repo, and patch it for wolfBoot build.
3339 mkdir -p lib/hash-sigs/lib || exit 2
3440 git clone https://github.com/cisco/hash-sigs.git lib/hash-sigs/src || exit 2
@@ -37,6 +43,9 @@ if (echo $TEST_OPTIONS | grep "LMS" &>/dev/null); then
3743 cd ../../.. || exit 2
3844fi
3945
46+ #
47+ # XMSS and ext_XMSS
48+ #
4049if (echo $TEST_OPTIONS | grep " XMSS" & > /dev/null); then
4150 # Need git.
4251 apt install -y git
@@ -45,8 +54,10 @@ if (echo $TEST_OPTIONS | grep "XMSS" &>/dev/null); then
4554 # add the wolfssl module as a safe directory so docker can use it.
4655 git config --global --add safe.directory /workspace/lib/wolfssl || exit 2
4756 cd lib/wolfssl && git checkout master && git pull && cd ../.. || exit 2
57+ fi
4858
49-
59+ if (echo $TEST_OPTIONS | grep " ext_XMSS" & > /dev/null); then
60+ # Extra steps needed for external XMSS support.
5061 # Need to clone the hash-sigs repo, and patch it for wolfBoot build.
5162 cd lib || exit 2
5263 git clone https://github.com/XMSS/xmss-reference.git xmss || exit 2
0 commit comments