Commit Graph

300 Commits (e367cd17e09cfbcc99f37cbbfcbdcfcc5c86e68f)

Author SHA1 Message Date
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 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 01fc80fbf1
Merge pull request #54 from dgarske/stm32wb
Fixes to config and documentation for STM32WB
2020-06-01 22:02:17 +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 d43be427c4
Merge pull request #55 from wolfSSL/sector_size_fixes
Sector size fixes
2020-05-29 06:32:50 -07:00
Daniele Lacamera c1f01649a4 Fixed psoc6 configuration 2020-05-29 08:21:45 +02:00
Daniele Lacamera aa3fb3fab0 Changed set|get_sector_flag argument to uint16_t
On some platforms with very small sector size this index could overflow
2020-05-29 08:19:18 +02:00
Daniele Lacamera d5783fe5bc Fixed alignment in magic trailer write with NVM_WRITEONCE 2020-05-29 08:19:10 +02:00
Daniele Lacamera 00811394db Fixed VTOR startup value, added return value check to Cy_* functions 2020-05-29 08:16:18 +02:00
David Garske 010d6dece4 Fixes to config and documentation for STM32WB. 2020-05-26 09:20:32 -07:00
Daniele Lacamera 5a692a7688
Merge pull request #53 from danielinux/mpu
MPU: fix RO flag in flash preventing the update
2020-05-26 16:18:55 +02:00
Daniele Lacamera ded67d494e MPU: fix RO flag in flash preventing the update 2020-05-26 16:18:06 +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
Daniele Lacamera dd17aa74f4 Fixed indentation 2020-05-26 15:35:41 +02:00
Daniele Lacamera ad9b17d143
Merge pull request #51 from dgarske/tpm
wolfBoot with TPM fixes and improvements
2020-05-26 11:16:30 +02:00
Daniele Lacamera a100c86c67 Cosmetic (whitespaces) 2020-05-26 11:14:15 +02:00
David Garske 2560bdc6d7 Added TPM RSA verify support. Added support for using software SHA-256 hasing with TPM because its much faster. (Note: to use TPM for hashing define `WOLFBOOT_HASH_TPM`). 2020-05-25 08:28:02 -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 683624a8f5 Updated wolfTPM submodule to v1.8 2020-05-23 11:44:36 -07: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
David Garske c8408517b8
Merge pull request #48 from danielinux/psoc6-app-fix
Fixes/improvements: psoc6 test application
2020-05-22 10:19:11 -07:00
Daniele Lacamera ed94f79fd9 Using WOLFBOOT_ROOT instead of relative paths in configs 2020-05-22 19:14:38 +02:00
Daniele Lacamera be0a8b4db2 Fixed test-app/Makefile with correct conditional indentation 2020-05-22 18:45:07 +02:00
Daniele Lacamera 5b08c9606b Fixed psoc6 test application 2020-05-22 18:21:47 +02:00
David Garske a48bc603d6
Merge pull request #44 from wolfSSL/psoc6
Psoc6 support
2020-05-20 08:35:38 -07:00
David Garske 1adb2bcae0 Fix for C keygen tool RSA len variable and the ED25519 generated key. Added description to C sign defaults. Added template Cypress PSoC6 configuration file. 2020-05-20 08:28:06 -07:00
Daniele Lacamera 28e29cb20b Don't update clock settings before staging.
(mentioned in docs/Targets.md)
2020-05-20 06:53:00 -07:00
Daniele Lacamera 56d16f323c psoc6 hal: removed dead code 2020-05-20 06:53:00 -07:00
Daniele Lacamera b6c38a82a6 Reverted change in .gdbinit 2020-05-20 06:53:00 -07:00
Daniele Lacamera f3d0d8fc83 PSoC6 support: updated configuration, docs added to Targets.md, revert
custom NVM_CACHE_SIZE
2020-05-20 06:53:00 -07:00
Daniele Lacamera 5d932fe857 Removed custom assembly code for psoc6: using boot_arm startup (in C) 2020-05-20 06:53:00 -07:00
Daniele Lacamera c3e19daa5d PSOC6: fixed clock setting (added flash wait states), minor include
paths fixes, removed test code
2020-05-20 06:53:00 -07:00
Daniele Lacamera 6dcbc3572d Psoc6: fixes for correct device bring-up 2020-05-20 06:53:00 -07:00
Daniele Lacamera 3db37a6b5c Updated NVM_CACHE_SIZE to match different configurations.
Progress on psoc6 HAL, fixed memory mapping and test app
2020-05-20 06:53:00 -07:00
Daniele Lacamera 1e8a0fb6aa Fixed system settings component in use (cm0plus vs cm4) 2020-05-20 06:53:00 -07:00
Daniele Lacamera 49845bb72d Fixed compile flags for psoc6 2020-05-20 06:53:00 -07:00
Daniele Lacamera 75638394b1 Initial draft for psoc6 support 2020-05-20 06:53:00 -07:00
David Garske 6a82cd587b
Merge pull request #47 from danielinux/nrf52_spi
nRF52 spi driver
2020-05-19 10:19:41 -07:00
Daniele Lacamera 45055a43c8 Fix use-before-set variable in spi drv for nrf52 2020-05-19 18:16:17 +02:00
Daniele Lacamera f7da6c5f6e Added SPI support for nrf52 2020-05-19 18:16:17 +02:00
David Garske fed42313ed
Merge pull request #46 from wolfSSL/sign_ed25519_fix
Fixed bug in keygen.c append missing public key to ed25519.der
2020-05-19 08:29:38 -07:00
Daniele Lacamera e0d4764fcc Fixed bug in keygen.c append missing public key to ed25519.der 2020-05-19 17:10:28 +02:00
David Garske b3c7ac87a7
Merge pull request #45 from wolfSSL/sign_ed25519_fix
Fix importing Ed25519 key in C sign tool
2020-05-18 05:36:39 -07:00
Daniele Lacamera 09909bbc84 Fix importing Ed25519 key in C sign tool 2020-05-18 12:36:01 +02:00
Daniele Lacamera ba1309fb5d Fixed allocation size in RSA4096 2020-04-28 17:14:45 +02:00