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
Daniele Lacamera
8af26f6fe6
s/echo -n/printf in test-enc.mk
2020-06-18 18:28:26 +02:00
Daniele Lacamera
9971b8b893
USBTTY, TIMEOUT command line parameters for test-enc.mk
2020-06-18 16:51:01 +02:00
Daniele Lacamera
30c851fa0a
Fixed leftover include in stm32wb app
2020-06-18 16:43:34 +02:00
Daniele Lacamera
a9755de446
Fixed output image size in sign.c
2020-06-18 16:41:40 +02:00
Daniele Lacamera
9d83b2f277
Added --encrypt option to sign.c
2020-06-18 15:32:16 +02:00
Daniele Lacamera
2f5f2970b2
Removed unused makefile targets
2020-06-18 11:19:15 +02:00
Daniele Lacamera
f3f27ae2cb
Fixed ChaCha20 IV usage/setting. Test/docs updated.
2020-06-18 11:12:01 +02:00
Daniele Lacamera
861259316f
include test-enc.mk in main Makefile
2020-06-17 10:39:40 +02:00
Daniele Lacamera
33d3f143f2
Added ENCRYPT=1 to example configuration
2020-06-17 10:39:28 +02:00
Daniele Lacamera
7d7ca4299b
Added test for encrypted update over UART on STM32WB55
2020-06-17 10:36:14 +02:00
Daniele Lacamera
eb2774e78b
Updated comment in uart_drv_stm32wb.c
2020-06-16 17:52:50 +02:00