Commit graph

103 commits

Author SHA1 Message Date
jakcron
8b37665be6 [nx|nstool] Changed Romfs FileNode and DirNode to not include an empty name[] variable. 2018-05-26 11:26:56 +08:00
jakcron
446927b53e [libnx|nstool] Added HierarchicalSha256Header and HierarchicalIntegrityHeader 2018-05-20 21:57:38 +08:00
jakcron
d93116863e [nx] Add implement importBinary for HierarchicalSha256Header and stubbed HierarchicalIntegrityHeader. 2018-05-20 09:19:41 +08:00
jakcron
e64f309c31 [nx] Rename because of typo 2018-05-20 09:18:38 +08:00
jakcron
aa1ed007eb Start moving towards a more generatlised hash tree system. 2018-05-19 11:57:40 +08:00
jakcron
4d537956f0 [nx] Add proper padding to nx::sKeyDataArea (xci) 2018-05-15 21:26:40 +08:00
jakcron
7da6aee09d [nx|nstool] Update VS project files. 2018-05-15 18:13:10 +08:00
jakcron
79c24153bb [nx|nstool] Added support for reading ContentMeta (.cnmt). 2018-05-12 23:02:53 +08:00
jakcron
a02ba43292 [nx] Add ContentMetaBinary 2018-05-12 17:36:50 +08:00
jakcron
480a6225cc [nx] Updated VS project files. 2018-05-12 11:53:42 +08:00
Jack
c7d78d0f1e
Merge pull request #10 from jakcron/nca-development
[nx|nstool] Nca development
2018-05-11 17:54:25 +08:00
jakcron
2fef609bbd [nx] Update structures. 2018-05-11 17:44:41 +08:00
jakcron
3291d06082 [nx] Add getNcaPartititionAesCtr() 2018-05-01 13:21:28 +08:00
jakcron
3cbcba2bde [nx] Add hasRightsId() to NcaHeader 2018-05-01 13:17:25 +08:00
jakcron
1f24d0e3e1 [nx] Fixed typo in AciHeader 2018-04-29 11:22:43 +08:00
jakcron
aee573f5ce [nx|nstool] Updated npdm->aci flag information. Also corrected some bugs 2018-04-28 00:13:35 +08:00
jakcron
c64e9e2f42 [nx] Added missing include. 2018-04-25 23:20:20 +08:00
jakcron
97ccc628ce [nx] Define sNcaHeaderBlock 2018-04-25 22:58:45 +08:00
jakcron
7e81d04fac [nx] Fix mistake in sRomfsDirEntry and add romfs::kInvalidAddr 2018-04-25 19:34:40 +08:00
jakcron
dd1297fbed [nx] Add romfs header constant. 2018-04-25 16:34:52 +08:00
jakcron
12e535317a [nx] Add other RomFs structures 2018-04-25 14:28:43 +08:00
jakcron
27347214f7 Add Visual Studio (2017) support. 2018-04-25 12:59:42 +08:00
jakcron
e1e6346628 [nx] Fix typo. 2018-04-25 12:59:13 +08:00
jakcron
c42b498e19 [nx] Fix indent. 2018-04-21 17:41:49 +08:00
jakcron
e9d24e4297 [nx] misc 2018-04-21 17:38:26 +08:00
jakcron
17c16cfa7a [nx] Add XciHeader 2018-04-21 17:37:30 +08:00
jakcron
fac2753afd [nx] Move structs and consts from NpdmHeader to npdm.h 2018-04-21 17:36:09 +08:00
jakcron
c02c5650c0 [nx] NcaHeader signature bytes validation change. 2018-04-21 17:27:29 +08:00
jakcron
02514cf72b [nx] Rename and move location of NCA embedded FS structs and consts. 2018-04-21 17:23:55 +08:00
jakcron
b81c742e18 [nx] Extract structures and consts from AciHeader.h to aci.h 2018-04-21 17:20:37 +08:00
jakcron
69c558923d [nx] Fix ACID RSA verification. 2018-04-21 17:19:41 +08:00
jakcron
953a181180 [nx] Fix ACID RSA verification. 2018-04-21 17:19:12 +08:00
jakcron
cdd11d58c6 [nx] Removed unused file. 2018-04-15 14:01:41 +08:00
jakcron
886d51f63c [nx] pfs::kAlignLen renamed to pfs::kHeaderAlign 2018-04-15 10:41:29 +08:00
jakcron
ee04bcdc8d [nx] Add NcaUtils 2018-04-15 10:40:22 +08:00
jakcron
2573ad4b47 [nx] Add AesKegen class for generating Keks and Keys. 2018-04-15 10:40:03 +08:00
jakcron
cca4a29fd6 [nx] Made kMaxSystemCall public. 2018-04-15 10:35:20 +08:00
jakcron
bd493acd3d Update VS2017 project files. 2018-04-07 16:49:45 +08:00
jakcron
57414aab1c [nx] Define XCI consts and structs. 2018-04-07 16:04:45 +08:00
jakcron
c9c515903e [nx] Delete unfinished XciHeader class. 2018-04-07 16:04:27 +08:00
jakcron
109b64be52 [nx|pfstool] Add support for HFS0. Take out PFS consts and structs to a separate file. 2018-04-07 16:03:01 +08:00
jakcron
fd9261b789 [nx|ncatool] Take out NCA constants and structures to separate file. Add support for NCA key area index 5. 2018-04-07 16:01:11 +08:00
jakcron
bafdaffe13 Update Makefiles 2018-04-07 15:57:04 +08:00
jakcron
eb04a4341f Reorganise NXCrypto 2018-03-31 08:08:10 +08:00
jakcron
427cdbb059 [nx] Update XciHeader 2018-03-31 08:07:53 +08:00
jakcron
1c60c86803 Removed u8,u16,u32,u64 typedef 2018-03-22 13:26:22 +08:00
jakcron
a44a0257fe [nx] Add Production keys
MasterKey[0], NCAHeaderKey, XCIHeaderKey.
2018-03-21 20:30:35 +08:00
jakcron
cf2dc0f7d0 [nx::NcaHeader] Fix comparison typo 2018-03-21 20:29:08 +08:00
jakcron
ed2e0f462d Update NCA code 2018-03-18 17:08:42 +08:00
jakcron
e293b322c0 Use ISerialiseablePrimative types in NcaHeader 2018-03-17 20:01:19 +08:00
jakcron
c5c71873b9 Fix uninitialisation bug in MiscFlagsHandler 2018-03-17 20:00:16 +08:00
jakcron
6630e108b2 Support Compiling on MacOS 2018-03-17 15:59:38 +08:00
jakcron
e74f214a3b change directory structure, and add support for VS compile, and fix aes-xts bug. 2017-08-05 21:09:50 +08:00