Commit 4626853d authored by Fabio Utzig's avatar Fabio Utzig Committed by Fabio Utzig
Browse files

sim: fix RSA signature length macro usage

Update RSA-3072 test that was using old Zephyr macros to set size.

Signed-off-by: default avatarFabio Utzig <utzig@apache.org>
parent 66b4caac
Loading
Loading
Loading
Loading
+2 −2
Changes for sim/mcuboot-sys/build.rs: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -51,10 +51,10 @@ fn main() {
        // they are used internally by "config-rsa.h"
        if sig_rsa {
            conf.define("MCUBOOT_SIGN_RSA_LEN", "2048");
            conf.define("CONFIG_BOOT_SIGNATURE_TYPE_RSA_2048", None);
            conf.define("CONFIG_BOOT_SIGNATURE_TYPE_RSA_LEN", "2048");
        } else {
            conf.define("MCUBOOT_SIGN_RSA_LEN", "3072");
            conf.define("CONFIG_BOOT_SIGNATURE_TYPE_RSA_3072", None);
            conf.define("CONFIG_BOOT_SIGNATURE_TYPE_RSA_LEN", "3072");
        }
        conf.define("MCUBOOT_USE_MBED_TLS", None);