94 Commits

Author SHA1 Message Date
d0k3 53650d5c55 Split crypto.c into aes.c / sha.c
... likewise for crypto.h into aes.h / sha.h
2015-12-29 02:06:39 +01:00
d0k3 8b17b70417 Fix crypto routines for AES CBC encryption 2015-11-10 14:54:51 +01:00
d0k3 adb2d83811 Write CTR in lowercase
... meaning more consistency in the code
2015-11-05 11:50:48 +01:00
d0k3 d4ee1361f9 Improve coding style 2015-10-24 19:14:24 +02:00
d0k3 ee0b24832a Splitted up decryptor.c/.h 2015-10-13 16:46:51 +02:00
d0k3 3b4c97315e Added ability to batch decrypt CIA files 2015-10-02 13:19:56 +02:00
d0k3 309ec6c221 Fixed & updated crypto library
o removed unneeded #defines
o enabled proper setting of keyY and normalkey
o enabled proper AES_CBC decryption & encryption
2015-10-02 13:18:26 +02:00
d0k3 de8cb66527 Added fragmentation check for SeekFileInNand
... meaning extracting files > 32kB is safer now!
2015-09-28 17:24:45 +02:00
d0k3 a02f803e6c Prevent possible problem with NAND backup/restore size 2015-09-27 21:17:45 +02:00
d0k3 80851ed801 Renamed DecryptBuffer to CryptBuffer
... this also does encryption.
2015-09-27 20:45:13 +02:00
d0k3 c2fb78b732 Changed NCCH decryptor dir to "D9decrypt" 2015-09-27 13:37:32 +02:00
d0k3 7ad10f7bc9 Misc code improvements
o Moved SHA256.h to /decryptor
o Some other improvements
2015-09-27 13:37:31 +02:00
d0k3 d7baa465f0 Improved the Title Decryptor
o Added hash verification -> more safe now
o Reduced the text output
o Renamed to "NCCH Decryptor"
o Various smaller improvements
2015-09-27 13:37:11 +02:00
d0k3 8604b8df55 DANGER_ZONE is now EXPERIMENTAL
This also encompasses non dangerous, but still experimental features now
as well.
2015-09-23 23:31:41 +02:00
d0k3 0c5811cf1f Removed NCCH padgen path fix 2015-09-23 23:23:39 +02:00
d0k3 075114f093 Improve coding of EmuNAND routines 2015-09-22 16:03:29 +02:00
d0k3 b6bcc88593 Miscelaneous code cleanup 2015-09-22 16:02:39 +02:00
d0k3 1c3bd6882c Add ability to create and update seeddb.bin 2015-09-22 01:17:52 +02:00
d0k3 7ff8aa48a1 Fixed a typo 2015-09-22 01:17:39 +02:00
d0k3 9f554118d7 Fixed SeekFileInNand() 2015-09-22 01:09:37 +02:00
d0k3 b10d78a09d Fix general slot0x25keyX.bin requirement on O3DS 2015-09-20 15:25:52 +02:00
d0k3 e466e6054f Added EmuNAND features & SeedSave dumping
SeedSave is also known as the 00000000 file required for seeddb.bin
generating!
2015-09-18 18:48:27 +02:00
d0k3 4a0aaad932 Updated SeekFileInNand() to accept full paths 2015-09-18 18:48:19 +02:00
d0k3 d2f9e990af Improvements for universal NCCHinfo support 2015-09-18 01:03:31 +02:00
d0k3 6ce30a6ffc Reorganized NAND partition decryptor / injector features
o Now includes features for CTRNAND (sep.), TWLN (sep.) and all partitions
decrypt / inject.
o Also improved some stuff for NCCH padgen
2015-09-17 02:15:22 +02:00