support for "aux" algorithms #1712
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: test with simulator targets on RSA/ECC to detect xmalloc failures | |
| on: | |
| push: | |
| branches: [ 'master', 'main', 'release/**' ] | |
| pull_request: | |
| branches: [ '*' ] | |
| jobs: | |
| simulator_tests: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/wolfssl/wolfboot-ci-sim:v1.0 | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Trust workspace | |
| run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
| # 32 Bit simulator, SP_MATH | |
| # | |
| - name: make clean | |
| run: | | |
| make keysclean | |
| - name: Select config (32 bit simulator) | |
| run: | | |
| cp config/examples/sim32.config .config | |
| - name: Build tools | |
| run: | | |
| make -C tools/keytools && make -C tools/bin-assemble | |
| - name: Build wolfboot.elf (ECC256) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=ECC256 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup before dualbank simulator test | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (dualbank simulator) | |
| run: | | |
| make clean | |
| mv .config .config.orig | |
| cp config/examples/sim-dualbank.config .config | |
| make test-sim-internal-flash-with-update | |
| - name: Run dualbank rollback denial simulation | |
| run: | | |
| tools/scripts/sim-dualbank-rollback-denied.sh | |
| - name: Run dualbank swap simulation | |
| run: | | |
| tools/scripts/sim-dualbank-swap-update.sh | |
| - name: Cleanup before WOLFBOOT_SMALL_STACK test | |
| run: | | |
| make keysclean | |
| mv .config.orig .config | |
| - name: Build wolfboot.elf (ECC256, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=ECC256 WOLFBOOT_SMALL_STACK=1 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (ECC384) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=ECC384 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (ECC384, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=ECC384 WOLFBOOT_SMALL_STACK=1 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (ECC521) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=ECC521 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (ECC521, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=ECC521 WOLFBOOT_SMALL_STACK=1 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (RSA2048) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSA2048 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (RSA2048, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSA2048 WOLFBOOT_SMALL_STACK=1 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (RSA3072) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSA3072 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (RSA3072, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSA3072 WOLFBOOT_SMALL_STACK=1 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (RSA4096) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSA4096 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (RSA4096, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSA4096 WOLFBOOT_SMALL_STACK=1 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (RSAPSS2048) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSAPSS2048 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (RSAPSS2048, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSAPSS2048 WOLFBOOT_SMALL_STACK=1 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (RSAPSS3072) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSAPSS3072 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (RSAPSS3072, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSAPSS3072 WOLFBOOT_SMALL_STACK=1 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (RSAPSS4096) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSAPSS4096 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (RSAPSS4096, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSAPSS4096 WOLFBOOT_SMALL_STACK=1 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| # 32 Bit simulator, FASTMATH | |
| # | |
| - name: make clean | |
| run: | | |
| make keysclean | |
| - name: Select config (32 bit simulator) | |
| run: | | |
| cp config/examples/sim32.config .config | |
| - name: Build tools | |
| run: | | |
| make -C tools/keytools && make -C tools/bin-assemble | |
| - name: Build wolfboot.elf (ECC256, FASTMATH) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=ECC256 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (ECC256, FASTMATH, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=ECC256 WOLFBOOT_SMALL_STACK=1 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (ECC384, FASTMATH) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=ECC384 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (ECC384, FASTMATH, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=ECC384 WOLFBOOT_SMALL_STACK=1 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (ECC521, FASTMATH) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=ECC521 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (ECC521, FASTMATH, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=ECC521 WOLFBOOT_SMALL_STACK=1 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (RSA2048, FASTMATH) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSA2048 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (RSA2048, FASTMATH, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSA2048 WOLFBOOT_SMALL_STACK=1 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (RSA3072, FASTMATH) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSA3072 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (RSA3072, FASTMATH, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSA3072 WOLFBOOT_SMALL_STACK=1 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (RSA4096, FASTMATH) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSA4096 SPMATH=0 WOLFBOOT_HUGE_STACK=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (RSA4096, FASTMATH, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSA4096 WOLFBOOT_SMALL_STACK=1 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (RSAPSS2048, FASTMATH) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSAPSS2048 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (RSAPSS2048, FASTMATH, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSAPSS2048 WOLFBOOT_SMALL_STACK=1 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (RSAPSS3072, FASTMATH) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSAPSS3072 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (RSAPSS3072, FASTMATH, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSAPSS3072 WOLFBOOT_SMALL_STACK=1 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (RSAPSS4096, FASTMATH) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSAPSS4096 SPMATH=0 WOLFBOOT_HUGE_STACK=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (RSAPSS4096, FASTMATH, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSAPSS4096 WOLFBOOT_SMALL_STACK=1 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| # 64 Bit simulator, SP_MATH | |
| # | |
| - name: make clean | |
| run: | | |
| make keysclean | |
| - name: Select config (64 bit simulator) | |
| run: | | |
| cp config/examples/sim.config .config | |
| - name: Build tools | |
| run: | | |
| make -C tools/keytools && make -C tools/bin-assemble | |
| - name: Build wolfboot.elf (ECC256) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=ECC256 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (ECC256, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=ECC256 WOLFBOOT_SMALL_STACK=1 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (ECC256, ONESHOT_HASH, SHA256) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=ECC256 SPMATH=1 WOLFBOOT_IMG_HASH_ONESHOT=1 | |
| - name: Run sunny day update test (ONESHOT_HASH, SHA256) | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (ECC256, ONESHOT_HASH, SHA384) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=ECC256 SPMATH=1 HASH=SHA384 WOLFBOOT_IMG_HASH_ONESHOT=1 | |
| - name: Run sunny day update test (ONESHOT_HASH, SHA384) | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (ECC256, ONESHOT_HASH, SHA3) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=ECC256 SPMATH=1 HASH=SHA3 WOLFBOOT_IMG_HASH_ONESHOT=1 | |
| - name: Run sunny day update test (ONESHOT_HASH, SHA3) | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (ECC384) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=ECC384 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (ECC384, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=ECC384 WOLFBOOT_SMALL_STACK=1 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (ECC521) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=ECC521 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (ECC521, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=ECC521 WOLFBOOT_SMALL_STACK=1 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (RSA2048) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSA2048 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (RSA2048, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSA2048 WOLFBOOT_SMALL_STACK=1 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (RSA3072) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSA3072 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (RSA3072, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSA3072 WOLFBOOT_SMALL_STACK=1 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (RSA4096) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSA4096 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (RSA4096, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSA4096 WOLFBOOT_SMALL_STACK=1 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (RSAPSS2048) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSAPSS2048 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (RSAPSS2048, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSAPSS2048 WOLFBOOT_SMALL_STACK=1 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (RSAPSS3072) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSAPSS3072 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (RSAPSS3072, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSAPSS3072 WOLFBOOT_SMALL_STACK=1 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (RSAPSS4096) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSAPSS4096 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (RSAPSS4096, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSAPSS4096 WOLFBOOT_SMALL_STACK=1 SPMATH=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| # 64 Bit simulator, FASTMATH | |
| # | |
| - name: make clean | |
| run: | | |
| make keysclean | |
| - name: Select config (64 bit simulator) | |
| run: | | |
| cp config/examples/sim.config .config | |
| - name: Build tools | |
| run: | | |
| make -C tools/keytools && make -C tools/bin-assemble | |
| - name: Build wolfboot.elf (ECC256, FASTMATH) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=ECC256 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (ECC256, FASTMATH, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=ECC256 WOLFBOOT_SMALL_STACK=1 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (ECC384, FASTMATH) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=ECC384 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (ECC384, FASTMATH, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=ECC384 WOLFBOOT_SMALL_STACK=1 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (ECC521, FASTMATH) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=ECC521 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (ECC521, FASTMATH, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=ECC521 WOLFBOOT_SMALL_STACK=1 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (RSA2048, FASTMATH) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSA2048 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (RSA2048, FASTMATH, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSA2048 WOLFBOOT_SMALL_STACK=1 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (RSA3072, FASTMATH) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSA3072 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (RSA3072, FASTMATH, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSA3072 WOLFBOOT_SMALL_STACK=1 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (RSA4096, FASTMATH) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSA4096 SPMATH=0 WOLFBOOT_HUGE_STACK=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (RSA4096, FASTMATH, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSA4096 WOLFBOOT_SMALL_STACK=1 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (RSAPSS2048, FASTMATH) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSAPSS2048 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (RSAPSS2048, FASTMATH, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSAPSS2048 WOLFBOOT_SMALL_STACK=1 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (RSAPSS3072, FASTMATH) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSAPSS3072 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (RSAPSS3072, FASTMATH, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSAPSS3072 WOLFBOOT_SMALL_STACK=1 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Cleanup to change key type | |
| run: | | |
| make keysclean | |
| - name: Build wolfboot.elf (RSAPSS4096, FASTMATH) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSAPSS4096 SPMATH=0 WOLFBOOT_HUGE_STACK=1 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Build wolfboot.elf (RSAPSS4096, FASTMATH, WOLFBOOT_SMALL_STACK) | |
| run: | | |
| make clean && make test-sim-internal-flash-with-update SIGN=RSAPSS4096 WOLFBOOT_SMALL_STACK=1 SPMATH=0 | |
| - name: Run sunny day update test | |
| run: | | |
| tools/scripts/sim-sunnyday-update.sh | |
| - name: Run sunny day LMS update test | |
| run: | | |
| tools/scripts/sim-pq-sunnyday-update.sh config/examples/sim-lms.config | |
| - name: Run sunny day XMSS update test | |
| run: | | |
| tools/scripts/sim-pq-sunnyday-update.sh config/examples/sim-xmss.config | |
| - name: Run sunny day ML-DSA level 2 update test | |
| run: | | |
| tools/scripts/sim-pq-sunnyday-update.sh config/examples/sim-ml-dsa.config | |
| - name: Run sunny day ML-DSA level 3 update test | |
| run: | | |
| tools/scripts/sim-pq-sunnyday-update.sh config/examples/sim-ml-dsa3.config | |
| - name: Run sunny day ML-DSA level 5 update test | |
| run: | | |
| tools/scripts/sim-pq-sunnyday-update.sh config/examples/sim-ml-dsa5.config | |
| # 64 Bit simulator, Hybrid auth ML_DSA + ECDSA | |
| # | |
| - name: make clean | |
| run: | | |
| make keysclean | |
| - name: Select config (64 bit simulator) Hybrid ML_DSA + ECC | |
| run: | | |
| cp config/examples/sim-ml-dsa-ecc-hybrid.config .config | |
| - name: Build wolfboot.elf | |
| run: | | |
| make clean && make | |
| - name: Run sunny day hybrid boot test | |
| run: | | |
| ./wolfboot.elf get_version |