mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-03 00:39:14 +00:00
Added detection for secure3 (New 3DS) crypto.
This commit is contained in:
@@ -589,6 +589,8 @@ void ncch_print(ncch_context* ctx)
|
||||
fprintf(stdout, " > Crypto key: %s\n", programid_is_system(header->programid)? "Fixed":"Zeros");
|
||||
else if (header->flags[3] & 1)
|
||||
fprintf(stdout, " > Crypto key: Secure2\n");
|
||||
else if (header->flags[3] & 10)
|
||||
fprintf(stdout, " > Crypto key: secure3 (New 3DS)\n");
|
||||
else
|
||||
fprintf(stdout, " > Crypto key: Secure\n");
|
||||
fprintf(stdout, " > Form type: %s\n", formtypetostring(header->flags[5]));
|
||||
|
||||
Reference in New Issue
Block a user