Commit Graph

349 Commits (manifest-aligned-fields)

Author SHA1 Message Date
Daniele Lacamera b3f471bff1 Sanity check for aligned fields in manifest header 2020-07-13 13:43:16 +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
Daniele Lacamera abcbdc3731 Updated documentation (uart remote flash, encrypted partitions) 2020-06-16 17:52:50 +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 845eef7db0 Encryption: address alignment fixes, stm32wb fixes 2020-06-16 17:52:50 +02:00
Daniele Lacamera 53bf4d04db Encrypt: API design 2020-06-16 17:50:55 +02:00
Daniele Lacamera 1d24d326b1 Experimental: chacha20 encryption for external partitions 2020-06-16 17:50:55 +02:00
David Garske 938919e5ce
Merge pull request #56 from wolfSSL/psoc6_hwcrypto
Support for psoc6 hw crypto accelerator
2020-06-16 07:58:12 -07:00
David Garske b70ae4393b
Merge pull request #60 from wolfSSL/self-update-bugfix
Fixed loop logic in bootloader update
2020-06-16 07:51:30 -07:00
Daniele Lacamera 9abc473092 Fixed loop logic in bootloader update 2020-06-16 15:55:44 +02:00
Daniele Lacamera d21dfc2778 Merge branch 'master' into psoc6_hwcrypto 2020-06-16 09:36:54 +02:00
Daniele Lacamera ec3234bf6b Updated to latest wolfssl 2020-06-16 09:35:40 +02:00
David Garske e5752249cb
Merge pull request #59 from wolfSSL/stm32wb-hal-fixes
Stm32wb hal fixes
2020-06-15 07:01:50 -07:00
Daniele Lacamera b662f961c7 stm32wb: Fixed alignment problem in hal_write, + bug in PNB mask 2020-06-12 12:25:28 +02:00
David Garske d7639517a1
Merge pull request #58 from wolfSSL/keytools-fix-pubkey-parser
Keytools fix pubkey parser
2020-06-11 08:21:20 -07: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 35545ffed9 Fixes for stm32wb hal 2020-06-10 22:52:33 +02:00
Daniele Lacamera f2ba779f71
Merge pull request #57 from dgarske/readme_cortex
Remove obsolete section in README.md
2020-06-10 08:33:19 +02:00
David Garske b94353f0da Remove obsolete section in README.md. We support multiple Cortex architectures and are continually expanding. 2020-06-09 10:27:42 -07:00
Daniele Lacamera 2d5576bb2f Added note in documentation about hw acceleration 2020-06-05 11:51:50 +02:00