Commit Graph

256 Commits (186027b122ca87c44eb89be01e2fc646ee509ccf)

Author SHA1 Message Date
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 18bfcecd6b wolfBoot cmake support 2022-12-07 13:00:10 -08:00
David Garske 6d45564112 Test size increases. Improve user_settings.h ECC options. 2022-12-06 06:20:48 +01:00
David Garske 2fc899254f Cleanups for NXP T2080 DEOS support:
* Expanded the NXP QorIQ T2080 documentation in `docs/Targets.md`.
* T2080 fixes for boot code placement and generation of .bin.
* T2080 UART driver cleanup.
* Improve bin-assemble fill speed and report items added.
* Make portability fixes to enable building in `mingw32-make`.
* Cleanup the `docs/Targets.md` sections and links.
* Cleanup execute bits on code files.
2022-12-06 06:20:48 +01:00
Daniele Lacamera 02d3dd67f0 Increase timeout value in incremental tests 2022-11-07 16:04:30 +01:00
Daniele Lacamera 5114e308ae Updated wolfSSL and wolfTPM submodules 2022-10-14 12:48:47 +02:00
Daniele Lacamera a6fdec3901 self-encrypt prototype; tested on stm32l0 2022-09-21 18:49:52 +02:00
Daniele Lacamera f6eeb8dd5d Preparing release v1.12 2022-07-26 09:57:32 +02:00
David Garske 3c2c26bf3a Fixes for IAR. Switch to new `src/keystore.c` for keys. Fixes for building keytools in Visual Studio. 2022-07-26 09:34:53 +02:00
Daniele Lacamera 7f9711aad5 Fix delta-update-ext test 2022-07-25 16:39:54 +02:00
Daniele Lacamera 1275219a7b Sign.py: fixed output file name when encrypt=1 2022-07-25 10:38:39 +02:00
Daniele Lacamera 40afaaffe2 Fixed UEFI example too 2022-07-21 20:18:34 +02:00
Daniele Lacamera 93dd53ac0f Fixed support for raspberry-pi 2022-07-21 20:18:34 +02:00
Daniele Lacamera 30b9d5b6f8 Fixed keygen.py case with no '-g' arguments 2022-07-20 20:17:55 +02:00
Daniele Lacamera dd9c19a1f3 Fixed typo in argument parsing 2022-07-20 20:17:39 +02:00
Daniele Lacamera c33fa449cb delta-enc: Fix delay after reboot in between tests 2022-07-20 13:43:05 +02:00
Daniele Lacamera 4a16372140 Delta test: remove unnecessary reboots 2022-07-20 11:51:58 +02:00
Daniele Lacamera 5ec00f9565 [sign.py] Fixed image path in delta + encrypt 2022-07-20 11:51:18 +02:00
Daniele Lacamera 9605dd283f Fixes for test cases using keystore 2022-07-19 15:33:29 +02:00
Daniele Lacamera 5e1a96969e Updated footprint sizes 2022-07-19 15:32:28 +02:00
Daniele Lacamera 1e11f3081b keygen.c : exporting keystore also in binary format 2022-07-19 15:32:28 +02:00
Daniele Lacamera 8cc0735237 Fix namefile parser in sign.py 2022-07-19 15:32:28 +02:00
Daniele Lacamera 1542a15c90 Keystore: array of public keys generated by keygen 2022-07-19 15:32:28 +02:00
Daniele Lacamera 49ed0a33e0 Fixed typo in RSA3072 test name 2022-07-19 13:26:11 +02:00
Daniele Lacamera 8558f2b1d9 Adjusted automated test after jenkins node update 2022-07-15 17:15:00 +02:00
Marco Oliverio d398f6708f tests: add test for update and rollback using simulated target 2022-07-12 10:13:10 +02:00
Daniele Lacamera be3a02c577 Fixed allocator for ECC curve-spec size in SMALL_STACK 2022-07-07 16:30:13 +02:00
Daniele Lacamera 711cdae42e Updated submodules wolfSSL + wolfTPM. Updated footprint size. 2022-07-07 16:09:05 +02:00
Daniele Lacamera acfdd1f676 Added support for RSA3072 2022-05-31 12:13:34 +02:00
Daniele Lacamera a9ffb3c98a Fixed typos. Removed verbose command line help. 2022-05-24 17:24:31 +02:00
Daniele Lacamera 063c21430c Added partition ID. Extended sign manual 2022-05-24 13:31:50 +02:00
Daniele Lacamera b47b9cef9b Corrected style (indentation, line wrap) 2022-05-23 20:39:57 +02:00
Daniele Lacamera 3731157efe Sign tool: improved output (version, algorithms) 2022-05-23 15:27:22 +02:00
Daniele Lacamera 69c01b7d6d Delta + encryption: added tests for AES128/256 2022-05-23 15:26:51 +02:00
Daniele Lacamera 6d7d8646c6 Encrypted delta: support in C keytools + fixed test 2022-05-23 14:10:13 +02:00
Daniele Lacamera 957b9d3c8c Initial support for delta-encrypted updates 2022-05-23 12:00:57 +02:00
Daniele Lacamera 49946a15f9 Fixed build of delta update tools 2022-05-20 09:11:28 +02:00
Daniele Lacamera f36276506a Fixed checks due to footprint size increase 2022-05-20 08:06:07 +02:00
David Garske 6068a8047c wolfBoot improvements (from elms):
* Add `WOLFBOOT_DUALBOOT` for dynamic fallback
* Refactor header field parsing
* Cleanup compiler warnings and logic extra check
* Option to leave out partition based functions
* Add `WOLFBOOT_FIXED_PARTITIONS` enable using partition enum and related functions
* Wrap all delta update references
* Update raspberry documentation
* EFI refactoring
* Add `keytools_check` target
* Add "library" target
2022-05-20 08:06:07 +02:00
Daniele Lacamera 0ad6033373 Adjust footprint watermarks for 5.3.0 2022-05-04 15:21:33 +02:00
elms 1c361f18fe
Merge pull request #197 from danielinux/tpm2-test-fix
Fix regressions in wolfTPM integration and tests
2022-04-11 15:53:50 -07:00
Daniele Lacamera e755700451 Fix regressions in wolfTPM integration and tests 2022-04-11 18:23:10 +02:00
Daniele Lacamera 0ee5151649 Fix footprint for SIGN=NONE 2022-04-08 20:37:28 +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 5da0982dfd Added check for SIGN=NONE 2022-04-08 19:46:02 +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 f04889ee29 Added SHA2-384 support for integrity checks 2022-04-06 09:41:37 +02:00
Daniele Lacamera d06178c3a8 Added new signature algo: ECC384 2022-04-01 12:21:42 -07:00
Daniele Lacamera 00d32d33a2 Added test with invalid/corrupted update 2022-03-17 08:32:33 +01:00