David Brown | 9a95b96 | 2017-07-27 10:40:42 -0600 | [diff] [blame^] | 1 | From 8f3c2f2fe9ade9ff6fe2a37b39318b0186d08efb Mon Sep 17 00:00:00 2001 |
| 2 | From: David Brown <david.brown@linaro.org> |
| 3 | Date: Thu, 27 Jul 2017 09:50:48 -0600 |
| 4 | Subject: [PATCH] bad: old rsa in boot, not in image |
| 5 | |
| 6 | This patch makes the bootloader use the old signature style, but does |
| 7 | not modify the images. Neither image should boot. |
| 8 | |
| 9 | --- |
| 10 | Makefile | 2 +- |
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 12 | |
| 13 | diff --git a/Makefile b/Makefile |
| 14 | index 1e9ec42..db97832 100644 |
| 15 | --- a/Makefile |
| 16 | +++ b/Makefile |
| 17 | @@ -14,7 +14,7 @@ CFLAGS += -DMCUBOOT_SIGN_RSA -DMCUBOOT_USE_MBED_TLS |
| 18 | |
| 19 | # Newer uses should use the RSA-PSS signature algorithm. This define |
| 20 | # enables (and requires) this type of signature. |
| 21 | -#CFLAGS += -DMCUBOOT_RSA_PKCS1_15 |
| 22 | +CFLAGS += -DMCUBOOT_RSA_PKCS1_15 |
| 23 | |
| 24 | # ECDSA P-256 |
| 25 | #CONF_FILE = boot/zephyr/prj-p256.conf |
| 26 | -- |
| 27 | 2.11.0 |
| 28 | |