Commit graph

315 commits

Author SHA1 Message Date
jakcron b4d3fbe7f9 [nstool] Add alternative name to "key_area_key_*": "nca_body_keak_*". 2018-04-24 16:23:29 +08:00
jakcron 14bdc0a795 [nstool] Enabled derivation of nca_header_key from sources. Key generation was also refactored. 2018-04-24 15:53:43 +08:00
jakcron 14220dced8 [nstool] Change includes. 2018-04-24 15:51:29 +08:00
jakcron 8ef9f478b0 [programs] Remove xcitool, npdmtool, pfstool. Add nstool. 2018-04-24 13:24:20 +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 f542b54154 [crypto] Add operators to sAesIvCtr 2018-04-21 17:17:54 +08:00
jakcron cdd11d58c6 [nx] Removed unused file. 2018-04-15 14:01:41 +08:00
jakcron 949bc4ba27 [fnd] Added read/write methods to IFile that didn't require an offset. 2018-04-15 14:01:24 +08:00
jakcron 45954d837d Add makeDirectory() to fnd::io 2018-04-15 14:00:46 +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 bfb9d87c95 [fnd] Add ResourceFileReader. This reads simple <key>=<value> files. 2018-04-15 10:38:58 +08:00
jakcron 88bcc8ce6d [fnd] Add fnd::io::getFileSize() 2018-04-15 10:36:43 +08:00
jakcron 8a8fe7b0e8 [fnd] Added IFile interface and SimpleFile implementation. 2018-04-15 10:36:23 +08:00
jakcron cca4a29fd6 [nx] Made kMaxSystemCall public. 2018-04-15 10:35:20 +08:00
jakcron 81e4f06048 [crypto] Add RSA-2048-PSS verification. 2018-04-15 10:33:00 +08:00
jakcron 9073c4a6d8 [xcitool] Show a pageAddr field also as a real address. Pfs addresses now relative to start of XCI. 2018-04-07 18:08:32 +08:00
jakcron bd493acd3d Update VS2017 project files. 2018-04-07 16:49:45 +08:00
jakcron 2ad3c13596 [fnd] Update Endian.h 2018-04-07 16:05:54 +08:00
jakcron 9e723d6e00 update readme 2018-04-07 16:05:34 +08:00
jakcron 4019febb23 [xcitool] Add PFS preview function. 2018-04-07 16:05:25 +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 584edf1f3d [tiktool] Behind the scenes formating changes. 2018-04-07 16:03:39 +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 dec7c50cc4 [crypto] Properly define sAesXts128Key 2018-04-07 15:58:07 +08:00
jakcron 2ff4ea8037 [fnd] Add SimpleTextOutput utility class. 2018-04-07 15:57:33 +08:00
jakcron bafdaffe13 Update Makefiles 2018-04-07 15:57:04 +08:00
jakcron 92183a90d4 Update project metadata 2018-04-07 15:56:38 +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 7167477874 [fnd] overloaded fnd::io::readFile to allow specifying an offset and size. 2018-03-25 19:52:56 +08:00
jakcron b5c6cf6cb4 [xcitool] Fix typo and add VS project files. 2018-03-25 19:10:48 +08:00
jakcron 08de2c4abc Fix bug in BitMath.h 2018-03-25 19:08:34 +08:00
jakcron 1d934bf0a7 Add xcitool 2018-03-25 18:27:14 +08:00
jakcron 5f91ea9c8b [es] Converted endian sensitive primatives to wrapped types. 2018-03-22 14:21:40 +08:00
jakcron 1dbef17165 Fixed typo 2018-03-22 13:29:52 +08:00
jakcron 1c60c86803 Removed u8,u16,u32,u64 typedef 2018-03-22 13:26:22 +08:00
jakcron 1362bac1cb [ncatool] Self select NCA header key. 2018-03-21 20:31:39 +08:00
jakcron a44a0257fe [nx] Add Production keys
MasterKey[0], NCAHeaderKey, XCIHeaderKey.
2018-03-21 20:30:35 +08:00