blob: 99d9d51f40d8c7fefa0491f7c4e63aed1472da3b [file] [log] [blame]
David Brown9a95b962017-07-27 10:40:42 -06001From 8f3c2f2fe9ade9ff6fe2a37b39318b0186d08efb Mon Sep 17 00:00:00 2001
2From: David Brown <david.brown@linaro.org>
3Date: Thu, 27 Jul 2017 09:50:48 -0600
4Subject: [PATCH] bad: old rsa in boot, not in image
5
6This patch makes the bootloader use the old signature style, but does
7not modify the images. Neither image should boot.
8
9---
10 Makefile | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/Makefile b/Makefile
14index 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--
272.11.0
28