mirror of
https://github.com/suchmememanyskill/TegraExplorer.git
synced 2024-11-26 13:52:06 +00:00
add fuse info to view dumped keys
This commit is contained in:
parent
b818b577e9
commit
3d4182ec57
1 changed files with 8 additions and 1 deletions
|
@ -14,6 +14,7 @@
|
||||||
#include "../storage/emummc.h"
|
#include "../storage/emummc.h"
|
||||||
#include <utils/util.h>
|
#include <utils/util.h>
|
||||||
#include "../fs/fsutils.h"
|
#include "../fs/fsutils.h"
|
||||||
|
#include <soc/fuse.h>
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
MainExplore = 0,
|
MainExplore = 0,
|
||||||
|
@ -84,7 +85,13 @@ void ViewKeys(){
|
||||||
gfx_printf("\nSave mac key: ");
|
gfx_printf("\nSave mac key: ");
|
||||||
PrintKey(dumpedKeys.save_mac_key, AES_128_KEY_SIZE);
|
PrintKey(dumpedKeys.save_mac_key, AES_128_KEY_SIZE);
|
||||||
|
|
||||||
gfx_printf("\n\nPkg1 ID: '%s', kb %d", TConf.pkg1ID, TConf.pkg1ver);
|
u8 fuseCount = 0;
|
||||||
|
for (u32 i = 0; i < 32; i++){
|
||||||
|
if ((fuse_read_odm(7) >> i) & 1)
|
||||||
|
fuseCount++;
|
||||||
|
}
|
||||||
|
|
||||||
|
gfx_printf("\n\nPkg1 ID: '%s' (kb %d)\nFuse count: %d", TConf.pkg1ID, TConf.pkg1ver, fuseCount);
|
||||||
|
|
||||||
hidWait();
|
hidWait();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue