Added detection for secure3 (New 3DS) crypto.

This commit is contained in:
profi200
2014-12-24 04:17:56 +01:00
parent e6f84e1b32
commit 038aca268a
+2
View File
@@ -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]));