Daniele Lacamera
98fa5e707e
Added missing config entry in config.mk (see #93 )
2021-02-05 10:52:16 +01:00
Daniele Lacamera
4468e6afb7
Updated test with encryption+uart to run on Jenkins
2021-02-01 16:54:57 +01:00
David Garske
ecfc4b5008
Support for overriding the wolfBoot root (`WOLFBOOT_ROOT`) to allow proper detection of the signing/keygen tools.
2021-02-01 12:44:17 +01:00
Dimitar Tomov
a2ff8f1d8e
Make sure wolfTPM support is included when measured boot is enabled
...
Signed-off-by: Dimitar Tomov <dimi@wolfssl.com>
2020-12-10 17:46:51 +02:00
Daniele Lacamera
4e27d9197f
Added compile-time option to invert FLAGS logic (FLAGS_INVERT=1)
2020-11-03 11:05:14 +01:00
David Garske
9d3f763354
Fix for scripts to detect and use C version of signing tool if available. Updated instructions to use correct address. Minor cleanups.
2020-09-30 11:45:53 -07:00
Daniele Lacamera
cbe002fad7
Merge branch 'update-flags-in-boot-partition' into stm32l5
2020-09-28 17:10:28 +02:00
Daniele Lacamera
b0fbafe014
Added DISABLE_BACKUP option
2020-09-14 16:31:07 +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
Daniele Lacamera
fd0b13079a
Added support for dual bank swap in stm32l5
2020-09-09 14:26:30 -07:00
Daniele Lacamera
5614c75f1e
Fixed address alignment, TZEN=0 mode not yet working
2020-09-09 14:26:30 -07:00
Daniele Lacamera
d642231344
Disable TZEN by default on all platforms
2020-09-09 14:26:30 -07:00
Daniele Lacamera
61890b0bdb
Fixed stm32l5 artifacts
2020-09-09 14:26:30 -07:00
David Garske
43c2e3dd79
Experimental support for STM32L5
2020-09-09 14:26:30 -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
24538d19d9
Relocate temporary key slot to the end of the partition
2020-08-11 15:32:47 +02:00
David Garske
a11a3a3bc1
Fix for building C tools with Visual Studio.
2020-07-24 10:59:26 -07:00
Daniele Lacamera
b2beb49370
Fixed bug in encrypted update, removed swap_counter.
2020-07-15 17:36:38 +02:00
Daniele Lacamera
26ebbc53c5
[Jenkins] fixed SPI CS pin config on test-bench
2020-06-29 17:55:43 +02:00
David Garske
c473a53ebe
Improvements to the key tools documentation.
2020-06-24 09:04:24 -07: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
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
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
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
f3f27ae2cb
Fixed ChaCha20 IV usage/setting. Test/docs updated.
2020-06-18 11:12:01 +02:00
Daniele Lacamera
7d7ca4299b
Added test for encrypted update over UART on STM32WB55
2020-06-17 10:36:14 +02:00
Daniele Lacamera
b3fad42f05
Added helper scripts to create test update images, config for enc-uart
...
use case
2020-06-16 17:52:50 +02:00
Daniele Lacamera
ceb07ec315
Fixed encryption alignment and signing tool IV
2020-06-16 17:52:50 +02:00
Daniele Lacamera
c9f8f6a12e
Added uart driver for stm32wb
2020-06-16 17:52:50 +02:00
Daniele Lacamera
53bf4d04db
Encrypt: API design
2020-06-16 17:50:55 +02:00
Daniele Lacamera
d21dfc2778
Merge branch 'master' into psoc6_hwcrypto
2020-06-16 09:36:54 +02:00
Daniele Lacamera
e367cd17e0
keygen.c: replace gets with scanf
2020-06-11 17:14:27 +02:00
Daniele Lacamera
151a35e3b0
sign.c: Fixed parsing size of public key when in 'manual-sign' or 'sha-only'
...
mode.
2020-06-11 17:14:05 +02:00
Daniele Lacamera
2b6d093469
sign.py: Fixed parsing size of public key when in 'manual-sign' or 'sha-only'
...
mode.
2020-06-11 17:03:47 +02:00
Daniele Lacamera
17707b7a37
Support for PSOC6 crypto support: added compile option
2020-06-05 11:49:57 +02:00
Daniele Lacamera
c4c786d254
Merge pull request #49 from dgarske/winfixes
...
Fixes for building C signing tools on Windows (Cygwin/MinGW).
2020-06-01 21:54:14 +02:00
David Garske
93d62112e9
Merge pull request #52 from danielinux/mpu
...
Added support for memory protection on ARM using MPU
2020-05-26 06:42:01 -07:00
David Garske
782d4b685c
Fix to allow .config to define WOLFTPM variable (and others).
2020-05-25 07:01:05 -07:00
Daniele Lacamera
7ade0ee2c0
Added support for memory protection on ARM using MPU
2020-05-25 15:14:41 +02:00
David Garske
5a8032d619
Add detection for `tools/keytools/sign.exe` and `tools/keytools/keygen.exe`. Show more commands with `make V=1`.
2020-05-23 11:08:30 -07:00
David Garske
088f168062
Fixes for building C signing tools on Windows (Cygwin/MinGW).
2020-05-22 12:26:19 -07:00