Commit Graph

36 Commits (02dfec6fac6c48546ff8a23c3fb47bab2d31d8a8)

Author SHA1 Message Date
John Bland 1e3f30a1c6 add github action for encryption with delta updates 2023-05-17 19:39:00 +02:00
Daniele Lacamera 46ea4923d1 Build tests: change ubuntu repository 2023-05-15 14:57:27 +02:00
Daniele Lacamera 39d8eedc61 Added sim-encrypt tests to github workflow 2023-05-15 11:54:37 +02:00
John Bland b94249f8f7 correctly identify a forward powerfail vs a revert
powerfail and add an exception to wolfBoot_delta_update when a revert gets
interrupted since the version will change in the middle of the update process
2023-04-22 06:13:53 +02:00
John Bland 14ec346e1c before calling wolfBoot_delta_update, check if the
0th sector has been changed with the update partition still being in
IMG_STATE_UPDATING state. the state still being IMG_STATE_UPDATING means that a
delta update started and that the version may have been switched over, in which
case wolfBoot_current_firmware_version() >= wolfBoot_update_firmware_version()
no longer tells us if we need to perform an inverse operation on it's own.

also removes part of the update powerfail test that does checks for the
previous version without triggering a rollback
2023-04-21 20:31:58 +02:00
Daniele Lacamera 56a1158241 Disable DELTA/powerfail test 2023-03-21 18:03:38 +01:00
Daniele Lacamera 9759773f9d Added simulator tests with delta updates 2023-03-21 18:03:38 +01:00
Daniele Lacamera 49c6b46456 Fixed make commands in workflows 2023-03-21 18:03:38 +01:00
Daniele Lacamera 7e9ecbad50 Added github action for powerfail tests 2023-03-21 18:03:38 +01:00
David Garske 6f12975bc5
Merge pull request #289 from danielinux/gh-action-rsa4096
Parallelize renode tests execution, remove unfeasible test, add compile-time check for large stack usage
2023-03-21 10:01:17 -07:00
Daniele Lacamera 8c47d5c496 Disable TFM+RSA4096 test 2023-03-21 17:05:48 +01:00
Daniele Lacamera 40bd66dd96 Parallel memory/sha renode tests 2023-03-21 16:44:52 +01:00
Daniele Lacamera c36819ad0b Run 4 unit tests made out of unit-extflash.c
- clear text test of ext_flash_check r/w/erase
- Aes128
- Aes256
- ChaCha
2023-03-14 08:57:15 +01:00
Daniele Lacamera 3910ef7da9 Action name updated 2023-03-14 08:57:15 +01:00
Daniele Lacamera 645a310e26 Added libcheck installation to workflow for unit t 2023-03-14 08:57:15 +01:00
Daniele Lacamera 0b06efd347 Added unit test for encrypted external flash 2023-03-14 08:57:14 +01:00
David Garske 8dd0ee347f Support for the STM32 OCTOSPI peripheral. 2023-02-02 12:11:23 -08:00
David Garske 034fa093da Add the new example configurations to the tests. 2022-12-29 18:27:40 +01:00
David Garske 4c4fab7612 Expand build tests for aarch64 and ppc. Fixes for some minor build errors uncovered. 2022-12-28 22:47:27 +01:00
David Garske 005df0949d Disabled builds that have requirements not supported yet. Fixed L0 build. 2022-12-28 19:15:50 +01:00
David Garske 8662f2539a Adding build tests for all ARM based example configs. 2022-12-28 19:15:50 +01:00
Daniele Lacamera 186027b122 Github workflows: new test scripts
Moved most of the commands inside the renode container.

Updated docker image to compile and run all tools, wolfboot and test
image within the renode container.
2022-12-13 16:45:57 +01:00
Lealem Amedie 8f0e4d23aa github test: Specify image version so GLIB_C 2.34 is available 2022-12-07 11:16:36 -08:00
Daniele Lacamera 1542a15c90 Keystore: array of public keys generated by keygen 2022-07-19 15:32:28 +02:00
Daniele Lacamera acfdd1f676 Added support for RSA3072 2022-05-31 12:13:34 +02:00
David Garske 6b61b812a6
Merge pull request #194 from danielinux/footprint
Added automated footprint regression tests
2022-04-08 11:19:07 -07:00
Daniele Lacamera 07d5b50ce7 Fixed multi-mem SMALL_STACK test 2022-04-08 13:26:55 +02:00
Daniele Lacamera 40012321df Fixed workflow tests 2022-04-08 13:25:25 +02:00
Daniele Lacamera 3815067fa0 Fixed SIGN=NONE. Improved tests 2022-04-08 13:04:26 +02:00
Daniele Lacamera 6ff04647e9 Added automated footprint regression tests 2022-04-08 10:54:17 +02:00
Daniele Lacamera 26ba8c81bb Fixed syntax error in multi-mem workflow 2022-04-07 18:38:16 +02:00
Daniele Lacamera 4872a71e5e Update test-renode-multi-sha.yml 2022-04-07 18:38:16 +02:00
Daniele Lacamera e0214e1eed Update test-renode-multi-mem.yml 2022-04-07 18:38:16 +02:00
Daniele Lacamera 0a03cb9a45 Added more test cases to github automation 2022-04-07 18:38:16 +02:00
Daniele Lacamera d06178c3a8 Added new signature algo: ECC384 2022-04-01 12:21:42 -07:00
Daniele Lacamera 3f2eec8299 Add github actions for renode tests on docker 2022-03-03 16:40:46 +01:00