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: Fabio Utzig <utzig@apache.org>
This commit is contained in:
Fabio Utzig 2020-01-06 09:09:51 -03:00 committed by Fabio Utzig
parent 9e1db9a88f
commit 4b4ed98310
1 changed files with 1 additions and 0 deletions

View File

@ -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");