1
0
Fork 0
forked from len0rd/rockbox

sbtools: add option to force sb dump

In the case of encrypted SB files without any key match, it is
still possible to dump the section headers. The force option
allows one to do so. It also allows to dump unencrypted sections
of encrypted files if there are some.

Change-Id: I36280230679ac5903f9c451c68c276f5c6959536
This commit is contained in:
Amaury Pouly 2012-06-27 14:50:39 +02:00
parent fa17cb904c
commit 7c9e7ec707
4 changed files with 37 additions and 7 deletions

View file

@ -33,6 +33,7 @@
#define ROUND_UP(val, round) ((((val) + (round) - 1) / (round)) * (round))
extern bool g_debug;
extern bool g_force;
typedef struct crypto_key_t *key_array_t;
int g_nr_keys;