summaryrefslogtreecommitdiff
path: root/rbutil/mkimxboot
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2014-08-31 14:30:56 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2017-01-16 19:50:25 +0100
commita5950c69af6663895eb158027489e703a2da284f (patch)
tree3d9e5355879ac833c17a7858a4acaaee2a03b2c7 /rbutil/mkimxboot
parent2df6b1fc43ab3cc7b07688a7c8d18f377a754c82 (diff)
downloadrockbox-a5950c69af6663895eb158027489e703a2da284f.tar.gz
rockbox-a5950c69af6663895eb158027489e703a2da284f.zip
imxtools: rework key/IV overriding logic
The overriding of the IV and real key should be the exception, there is no need to manually set them to false. Change-Id: Id66754f20a79aa5c1a991839345d1242e0aa587d
Diffstat (limited to 'rbutil/mkimxboot')
-rw-r--r--rbutil/mkimxboot/mkimxboot.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/rbutil/mkimxboot/mkimxboot.c b/rbutil/mkimxboot/mkimxboot.c
index d10ad9cb01..db18c769fb 100644
--- a/rbutil/mkimxboot/mkimxboot.c
+++ b/rbutil/mkimxboot/mkimxboot.c
@@ -275,10 +275,6 @@ static enum imx_error_t patch_std_zero_host_play(int jump_before,
275 * call in the ____ section and get rid of everything else. In recovery mode, 275 * call in the ____ section and get rid of everything else. In recovery mode,
276 * we give 0xfee1dead as argument */ 276 * we give 0xfee1dead as argument */
277 277
278 /* Do not override real key and IV */
279 sb_file->override_crypto_iv = false;
280 sb_file->override_real_key = false;
281
282 /* used to manipulate entries */ 278 /* used to manipulate entries */
283 int nr_boot_inst = rb_fw_get_sb_inst_count(&boot_fw); 279 int nr_boot_inst = rb_fw_get_sb_inst_count(&boot_fw);
284 280