@@ -20,20 +20,11 @@ quit_renode() {
2020
2121rm -f $RENODE_UART
2222
23- #
24- # LMS and ext_LMS
25- #
26- if (echo $TEST_OPTIONS | grep " LMS" & > /dev/null); then
23+ # external LMS test
24+ if (echo $TEST_OPTIONS | grep " ext_LMS" & > /dev/null); then
2725 # Need git.
2826 apt install -y git
2927
30- # wolfSSL needs to be on latest master for LMS support. Also, we need to
31- # add the wolfssl module as a safe directory so docker can use it.
32- git config --global --add safe.directory /workspace/lib/wolfssl || exit 2
33- cd lib/wolfssl && git checkout master && git pull && cd ../.. || exit 2
34- fi
35-
36- if (echo $TEST_OPTIONS | grep " ext_LMS" & > /dev/null); then
3728 # Extra steps needed for external LMS support.
3829 # Need to clone the hash-sigs repo, and patch it for wolfBoot build.
3930 mkdir -p lib/hash-sigs/lib || exit 2
@@ -43,22 +34,13 @@ if (echo $TEST_OPTIONS | grep "ext_LMS" &>/dev/null); then
4334 cd ../../.. || exit 2
4435fi
4536
46- #
47- # XMSS and ext_XMSS
48- #
49- if (echo $TEST_OPTIONS | grep " XMSS" & > /dev/null); then
37+ # external XMSS test
38+ if (echo $TEST_OPTIONS | grep " ext_XMSS" & > /dev/null); then
5039 # Need git.
5140 apt install -y git
5241
53- # wolfSSL needs to be on latest master for XMSS support. Also, we need to
54- # add the wolfssl module as a safe directory so docker can use it.
55- git config --global --add safe.directory /workspace/lib/wolfssl || exit 2
56- cd lib/wolfssl && git checkout master && git pull && cd ../.. || exit 2
57- fi
58-
59- if (echo $TEST_OPTIONS | grep " ext_XMSS" & > /dev/null); then
6042 # Extra steps needed for external XMSS support.
61- # Need to clone the hash-sigs repo, and patch it for wolfBoot build.
43+ # Need to clone the xmss-reference repo, and patch it for wolfBoot build.
6244 cd lib || exit 2
6345 git clone https://github.com/XMSS/xmss-reference.git xmss || exit 2
6446 cd xmss && git checkout 171ccbd26f098542a67eb5d2b128281c80bd71a6 && \
0 commit comments