Commit 4b4ed983 authored by Fabio Utzig's avatar Fabio Utzig Committed by Fabio Utzig
Browse files

sim: enable saving encrypted TLV for ECIES

This changes the simulator to save the encryption TLV itself instead
of the unecrypted AES-128 key when doing the ECIES encryption test,
to add proper test coverage of this configuration option.

Signed-off-by: default avatarFabio Utzig <utzig@apache.org>
parent 9e1db9a8
Loading
Loading
Loading
Loading
+1 −0
Changes for sim/mcuboot-sys/build.rs: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -178,6 +178,7 @@ fn main() {
        conf.define("MCUBOOT_ENCRYPT_EC256", None);
        conf.define("MCUBOOT_ENC_IMAGES", None);
        conf.define("MCUBOOT_USE_TINYCRYPT", None);
        conf.define("MCUBOOT_SWAP_SAVE_ENCTLV", None);

        conf.file("../../boot/bootutil/src/encrypted.c");
        conf.file("csupport/keys.c");