Commit Graph

17 Commits

Author SHA1 Message Date
Arisotura e5dd692d32 AES: fix bug where CCM-encrypt MAC could be obliterated, by attempting to write it while the output FIFO was full 2020-08-25 00:17:22 +02:00
Arisotura ff69df2a15 add AES-CCM encrypt
makes the eShop work
2020-06-21 12:20:02 +02:00
Arisotura 5cd1177e34 huh. all DSi files had outdated copyright years 2020-06-05 20:44:18 +02:00
Arisotura ee9fe327e2 remove requirement for aeskeys.bin and boot2_7/9.bin 2020-06-01 23:13:38 +02:00
Arisotura 77f4663f49 betterer SD/MMC code. Flipnote can save shit! 2020-06-01 16:24:59 +02:00
Arisotura e82364f010 * some fixes to SD controller support, make it clear that there is no SD inserted, makes Flipnote work somewhat better
* immediately clear AES busy flag when the block count is zero (occurs when loading DSi cart games)
* implement NDMA start modes that have an old-DMA equivalent (except for GXFIFO mode)

now it boots DSi carts!
2019-10-19 16:03:59 +02:00
Arisotura dcda848cdf * base for potentially re-encrypting modcrypt, doesn't seem to be required? but can also serve to decrypt it
* revise SD IRQ behavior (fixing potential hang when loading DS games)
2019-08-07 12:57:12 +02:00
Arisotura 06716794a1 lots of things. attempting to make wifi init work. not there yet. 2019-07-24 18:48:52 +02:00
Arisotura 851e255b40 * AES-CCM decrypt
* fix a bunch of bugs
2019-07-02 23:46:39 +02:00
Arisotura 6c60e97a63 fix another AES bug 2019-06-20 22:42:28 +02:00
Arisotura 3d9e6c5c66 * fix more AES bugs
* fix ass-stupid bug with NWRAM mapping
2019-06-20 01:36:10 +02:00
Arisotura 95f4c1472b probably betterer like this 2019-06-19 22:08:35 +02:00
Arisotura 3807c9bf5b combat AES overflowing and/or getting stuck 2019-06-19 21:57:08 +02:00
Arisotura dcae9788e5 add NDMA start mode 0x0A (AES input FIFO) 2019-06-19 19:19:51 +02:00
Arisotura 6e5879f8bb fix more bugs, get further 2019-06-19 15:26:38 +02:00
Arisotura 81dde71eba add AES, fix a bunch of bugs
we're getting an error screen! wee
2019-06-19 14:24:49 +02:00
Arisotura 7335379127 HARK HARK HARK 2019-06-18 19:00:44 +02:00