mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-05 16:59:02 +00:00
ctrtool: Add support for inline decryption
This commit is contained in:
+2
-1
@@ -30,6 +30,7 @@ typedef struct
|
||||
u8 partitionid[8];
|
||||
u8 counter[16];
|
||||
u8 key[16];
|
||||
u8 special_key[16];
|
||||
u64 offset;
|
||||
u64 size;
|
||||
exefs_header header;
|
||||
@@ -48,7 +49,7 @@ void exefs_set_usersettings(exefs_context* ctx, settings* usersettings);
|
||||
void exefs_set_partitionid(exefs_context* ctx, u8 partitionid[8]);
|
||||
void exefs_set_counter(exefs_context* ctx, u8 counter[16]);
|
||||
void exefs_set_compressedflag(exefs_context* ctx, int compressedflag);
|
||||
void exefs_set_key(exefs_context* ctx, u8 key[16]);
|
||||
void exefs_set_keys(exefs_context* ctx, u8 key[16], u8 special_key[16]);
|
||||
void exefs_set_encrypted(exefs_context* ctx, u32 encrypted);
|
||||
void exefs_read_header(exefs_context* ctx, u32 flags);
|
||||
void exefs_calculate_hash(exefs_context* ctx, u8 hash[32]);
|
||||
|
||||
Reference in New Issue
Block a user