Add Mynewt RSA-3072 config

Signed-off-by: Fabio Utzig <utzig@apache.org>
diff --git a/boot/mynewt/mcuboot_config/include/mcuboot_config/mcuboot_config.h b/boot/mynewt/mcuboot_config/include/mcuboot_config/mcuboot_config.h
index e826865..fbc45be 100644
--- a/boot/mynewt/mcuboot_config/include/mcuboot_config/mcuboot_config.h
+++ b/boot/mynewt/mcuboot_config/include/mcuboot_config/mcuboot_config.h
@@ -41,6 +41,7 @@
 #endif
 #if MYNEWT_VAL(BOOTUTIL_SIGN_RSA)
 #define MCUBOOT_SIGN_RSA 1
+#define MCUBOOT_SIGN_RSA_LEN MYNEWT_VAL(BOOTUTIL_SIGN_RSA_LEN)
 #endif
 #if MYNEWT_VAL(BOOTUTIL_SIGN_EC)
 #define MCUBOOT_SIGN_EC 1
diff --git a/boot/mynewt/mcuboot_config/syscfg.yml b/boot/mynewt/mcuboot_config/syscfg.yml
index 37d622f..9e52cab 100644
--- a/boot/mynewt/mcuboot_config/syscfg.yml
+++ b/boot/mynewt/mcuboot_config/syscfg.yml
@@ -23,8 +23,11 @@
         description: 'Validate image at slot 0 on each boot.'
         value: 0
     BOOTUTIL_SIGN_RSA:
-        description: 'Images are signed using RSA2048.'
+        description: 'Images are signed using RSA.'
         value: 0
+    BOOTUTIL_SIGN_RSA_LEN:
+        description: 'Key size for RSA keys (2048 or 3072).'
+        value: 2048
     BOOTUTIL_SIGN_EC:
         description: 'Images are signed using ECDSA NIST P-224.'
         value: 0