@@ -12,18 +12,19 @@ mkdir -p "$WORK"
1212cd " $WORK "
1313
1414echo " ::group::SE050Sim (Rust TCP server)"
15- git clone -q --depth 1 https://github.com/wolfSSL/simulators sims
15+ " $ROOT /.github/scripts/ git- clone-retry.sh " -q --depth 1 https://github.com/wolfSSL/simulators sims
1616# se050-sim depends on the se050 crate at ../nxp-se050/se050 (its own repo)
17- git clone -q --branch sim-compat --depth 1 \
17+ " $ROOT /.github/scripts/ git- clone-retry.sh " -q --branch sim-compat --depth 1 \
1818 https://github.com/LinuxJedi/nxp-se050.git sims/SE050Sim/nxp-se050
1919( cd sims/SE050Sim/se050-sim && cargo build --release --bin tcp_server )
2020SIM=" $WORK /sims/SE050Sim/wolfcrypt-test"
2121echo " ::endgroup::"
2222
2323echo " ::group::plug-and-trust SDK + wolfSSL HostCrypto patch + sim overlays"
24- git clone -q --depth 1 --branch v04.07.01 https://github.com/NXP/plug-and-trust simw-top
25- curl -fsSL https://raw.githubusercontent.com/wolfSSL/osp/master/nxp-se05x-middleware/simw-top-v040701.patch \
26- | ( cd simw-top && patch -p1 -l --forward --fuzz=3 )
24+ " $ROOT /.github/scripts/git-clone-retry.sh" -q --depth 1 --branch v04.07.01 https://github.com/NXP/plug-and-trust simw-top
25+ " $ROOT /.github/scripts/retry.sh" curl -fsSL -o " $WORK /osp-se050.patch" \
26+ https://raw.githubusercontent.com/wolfSSL/osp/master/nxp-se05x-middleware/simw-top-v040701.patch
27+ ( cd simw-top && patch -p1 -l --forward --fuzz=3 < " $WORK /osp-se050.patch" )
2728test -f simw-top/sss/src/wolfssl/fsl_sss_wolfssl_apis.c
2829cp " $SIM /i2c_a7.c" simw-top/hostlib/hostLib/platform/linux/i2c_a7.c
2930cp " $SIM /se05x_reset.c" simw-top/hostlib/hostLib/platform/rsp/se05x_reset.c
@@ -32,7 +33,7 @@ cp "$SIM/CMakeLists.txt" simw-top/CMakeLists.txt
3233echo " ::endgroup::"
3334
3435echo " ::group::wolfSSL pass A (no se050, so the SDK can link -lwolfssl)"
35- git clone -q --depth 1 https://github.com/wolfSSL/wolfssl
36+ " $ROOT /.github/scripts/ git- clone-retry.sh " -q --depth 1 https://github.com/wolfSSL/wolfssl wolfssl
3637( cd wolfssl && ./autogen.sh > /dev/null 2>&1 && \
3738 ./configure --enable-keygen --enable-cmac \
3839 CFLAGS=" -DWOLFSSL_SE050_NO_TRNG -DSIZEOF_LONG_LONG=8" > /dev/null && \
0 commit comments