Commit Graph

382 Commits (b0fbafe01417b590b3f9c61ce7bcc7f5e4f9c9a6)

Author SHA1 Message Date
Daniele Lacamera b0fbafe014 Added DISABLE_BACKUP option 2020-09-14 16:31:07 +02:00
Daniele Lacamera f6252917d4 Updated documentation of compile-time options 2020-09-11 12:01:06 +02:00
Daniele Lacamera 75898806eb Added option FLAGS_HOME to store UPDATE flags in the BOOT partition 2020-09-11 11:25:51 +02:00
David Garske cfb408c6d8
Merge pull request #78 from wolfSSL/bugfix-encryption-flags
Fix bug in encryption - account for flags offset
2020-09-04 08:15:37 -07:00
Daniele Lacamera 0482cba74d Fix bug in encryption - account for flags offset 2020-09-04 15:57:59 +02:00
David Garske 64d0e0f605
Merge pull request #76 from wolfSSL/prepare-release-1.6
Prepare release 1.6
2020-08-25 07:58:51 -07:00
Daniele Lacamera feb7522a58 Updated changelog for release 1.6 2020-08-25 09:51:32 +02:00
Daniele Lacamera c8785b07c0 Update wolfTPM submodule to latest master 2020-08-25 09:51:32 +02:00
Daniele Lacamera c690334584 Update wolfssl submodule to latest master 2020-08-25 09:51:23 +02:00
Daniele Lacamera 00361ee322 fixed warning with explicit type cast 2020-08-25 09:47:24 +02:00
David Garske f1033f126a
Merge pull request #70 from wolfSSL/parser_boundaries
Fixed manifest header boundary checks
2020-08-13 13:04:52 -07:00
David Garske c30d675e38 Fix for building on Mac. Added README.md. 2020-08-13 13:02:59 -07:00
Daniele Lacamera 5ad13dbac0 unit-parser.c: Added (c) and short description 2020-08-13 14:01:18 +02:00
Daniele Lacamera 4d93c68542 Added unit test for wolfBoot_find_header 2020-08-13 13:57:32 +02:00
Daniele Lacamera 944f816f05 Improved boundary checks in wolfBoot_find_header 2020-08-13 13:56:47 +02:00
Daniele Lacamera 7c8636f16b Fixed manifest header boundary checks
Added sanity check against address-space wrap-around

Revert "Added sanity check against address-space wrap-around"

This reverts commit cf81b32f38008723aa41a260a6c46920a9d3fb40.
2020-08-13 13:56:45 +02:00
David Garske d897a8b40b
Merge pull request #75 from wolfSSL/encrypt-slot-relocate
Relocate encryption key slot to the end of the flash partition
2020-08-12 09:01:17 -07:00
Daniele Lacamera 24538d19d9 Relocate temporary key slot to the end of the partition 2020-08-11 15:32:47 +02:00
David Garske b97f79499a
Merge pull request #74 from wolfSSL/spi-fix
Added RAMFUNCTION to spi_wait_busy
2020-08-10 09:14:27 -07:00
dan e10e3e3505 Added RAMFUNCTION to spi_wait_busy 2020-08-10 17:57:53 +02:00
Daniele Lacamera 9e421ff946
Merge pull request #69 from wolfSSL/manifest-aligned-fields
Sanity check for aligned fields in manifest header

Fix confirmed (thanks @guidovranken !)
2020-07-27 23:39:28 +02:00
Daniele Lacamera 12294df164
Merge pull request #73 from dgarske/vs_keytools
Fix for building C tools with Visual Studio
2020-07-27 17:53:36 +02:00
David Garske a11a3a3bc1 Fix for building C tools with Visual Studio. 2020-07-24 10:59:26 -07:00
David Garske 97c3180e2f Updated submodule to https://github.com/wolfSSL/wolfssl/pull/3027 for Cypress PSOC6. 2020-07-21 09:11:54 -07:00
Daniele Lacamera 0bd4026b6a
Update encrypted_partitions.md 2020-07-21 18:06:12 +02:00
David Garske 5fc7321032
Merge pull request #72 from wolfSSL/encrypted-update-fix
Fixed bug in encrypted update, removed swap_counter.
2020-07-15 10:30:00 -07:00
Daniele Lacamera b2beb49370 Fixed bug in encrypted update, removed swap_counter. 2020-07-15 17:36:38 +02:00
David Garske d31bfc2032
Merge pull request #71 from wolfSSL/lpc_fix
LPC: Fix aligned page address write
2020-07-14 15:28:27 -07:00
Daniele Lacamera 8187f9f159 LPC: Fix aligned page address write 2020-07-15 00:04:31 +02:00
Daniele Lacamera b3f471bff1 Sanity check for aligned fields in manifest header 2020-07-13 13:43:16 +02:00
David Garske 9ea5002122
Merge pull request #68 from wolfSSL/fix-lastresort-update
Fix last-resort update
2020-07-09 09:46:39 -07:00
David Garske e8e3c25de4
Merge pull request #67 from wolfSSL/self-update-from-spi
Allow bootloader update from SPI flash
2020-07-07 09:10:56 -07:00
Daniele Lacamera 5915d40904 Fix logic in emergency update 2020-07-06 14:04:15 +02:00
Daniele Lacamera 533fa9b4a2 Added RAMFUNCTION tag to SPI flash functions 2020-07-06 10:13:52 +02:00
David Garske 836a13a097
Merge pull request #65 from danielinux/jenkins-fixes-tpm
[Jenkins] fixed SPI CS pin config on test-bench
2020-06-29 11:31:11 -07:00
Daniele Lacamera 26ebbc53c5 [Jenkins] fixed SPI CS pin config on test-bench 2020-06-29 17:55:43 +02:00
Daniele Lacamera d50057344e
Merge pull request #64 from dgarske/keytools
Improvements to the key tools documentation
2020-06-24 18:27:28 +02:00
David Garske c473a53ebe Improvements to the key tools documentation. 2020-06-24 09:04:24 -07:00
Daniele Lacamera 9fc82ac9f1
Merge pull request #61 from dgarske/tpm_rsa
Fixes for RSA verify with TPM
2020-06-24 16:58:05 +02:00
Daniele Lacamera e303c282c7 Added TPM+RSA automated tests for jenkins 2020-06-24 16:56:32 +02:00
David Garske 0c5b66c39e Fixes for TPM with RSA.
* Requires PR https://github.com/wolfSSL/wolfTPM/pull/101
* Cleanup of software vs. TPM code `wolfBoot_verify_signature` functions (ECC and RSA)
* Adjusted the stack size checks with TPM.
* Added STM32F4 programming/debugging instructions.
* In V=1 mode show the keygen command.
2020-06-23 11:57:09 -07:00
David Garske e910380889 Add support for using an RSA signature that includes ASN.1 encoded header. On by default, can be disabled using `NO_RSA_SIG_ENCODING`. Added support for signing with encoding using `--rsa2048enc` or `--rsa4096enc`. 2020-06-23 11:39:30 -07:00
Daniele Lacamera 5c2e44a417 Fix broken test configuration 2020-06-22 12:07:15 +02:00
Daniele Lacamera 2523d2cd19 Removed enforced .config breaking jenkins set-up 2020-06-22 11:50:21 +02:00
David Garske 09622b1dea Revert delete of `.gdbinit`. 2020-06-18 14:45:16 -07:00
David Garske 71792e84a2
Merge pull request #62 from danielinux/ext_flash_encryption
External flash encryption
2020-06-18 12:24:46 -07:00
David Garske 50456e27cc Fix for arg count on C sign tool. 2020-06-18 12:22:17 -07:00
Daniele Lacamera 64134ded1f Minor fixes from code review 2020-06-18 18:43:50 +02:00
Daniele Lacamera 629a0ebeae More typos in docs. 2020-06-18 18:31:38 +02:00
Daniele Lacamera 6fa9fbfabe docs: fixed typos. 2020-06-18 18:30:18 +02:00