big update

lots cleaned, added cia to cci conv, it
's called a block, separated reading from building, improved ncch keyx
stuff, and basic verbose for keys, elf checking and romfs
This commit is contained in:
applestash
2014-08-26 00:34:28 +10:00
parent c6e98ca578
commit 9c548197c1
66 changed files with 2970 additions and 2551 deletions
+6 -13
View File
@@ -15,11 +15,11 @@ typedef enum
typedef struct
{
u8 contentID[4];
u8 contentIndex[2];
u8 contentFlags[2];
u8 contentSize[8];
u8 contentHash[0x20]; // SHA 256
u8 id[4];
u8 index[2];
u8 flags[2];
u8 size[8];
u8 hash[0x20]; // SHA 256
} tmd_content_chunk;
typedef struct
@@ -58,11 +58,4 @@ typedef struct
u8 bootContent[2];
u8 padding3[2];
u8 infoRecordHash[0x20]; // SHA-256
} tmd_hdr;
// Prototypes
u32 PredictTMDSize(u16 ContentCount);
int BuildTMD(cia_settings *ciaset);
// Read TMD
tmd_hdr *GetTmdHdr(u8 *tmd);
} tmd_hdr;