Commit Graph

14 Commits

Author SHA1 Message Date
ad232efbf0 apply fixes 2018-10-17 18:35:16 +02:00
be3bd18c42 Load keys from new3DS native firm 2018-10-17 17:44:54 +02:00
15c9db0883 Load keys from the o3DS save mode native firm 2018-10-17 17:44:52 +02:00
1849e8b09c HW::AES: add generator_constant 2018-10-17 16:07:11 +02:00
Ben
f48157c6ea Load AES keys stored in boot9.bin (#4335)
* Load AES keys stored in boot9.bin
2018-10-17 10:13:55 +02:00
d37a2270d6 Replace boost::optional with std::optional where possible 2018-10-05 13:51:09 +02:00
5fb3137bdc Merge pull request #4181 from wwylele/cia-crypto
Add encrypted CIA support
2018-10-01 14:23:35 -04:00
b70e2bce58 HW/AES: add common key loading and selecting 2018-09-23 13:00:07 -04:00
b3221c3180 file_util: Use an enum class for GetUserPath()
Instead of using an unsigned int as a parameter and expecting a user to
always pass in the correct values, we can just convert the enum into an
enum class and use that type as the parameter type instead, which makes
the interface more type safe.

We also get rid of the bookkeeping "NUM_" element in the enum by just
using an unordered map. This function is generally low-frequency in
terms of calls (and I'd hope so, considering otherwise would mean we're
slamming the disk with IO all the time) so I'd consider this acceptable
in this case.
2018-09-22 21:18:56 +02:00
7d8f115185 Prefix all size_t with std::
done automatically by executing regex replace `([^:0-9a-zA-Z_])size_t([^0-9a-zA-Z_])` -> `$1std::size_t$2`
2018-09-06 16:03:28 -04:00
d4a808c885 ncch_container: support encrypted games 2018-08-07 18:53:06 +03:00
7c5a76e58b log: replace all NGLOG with LOG 2018-06-29 14:18:07 +03:00
7abfdb164b hw: Migrate logging macros (#3584)
* hw: Migrate logging macros

Use NGLOG instead of LOG prefixed macros for logging

* gpu: Remove unnecessary casting

At first this line without any casting gave an error. Without knowing which argument is causing the error, I just casted everything. After that forgot to check which argument is the one causing trouble.

* hw: Change format specifiers for the one missed
2018-03-27 12:02:19 +01:00
ea1ea0224c HW: add AES engine & implement AES-CCM 2017-02-21 23:57:31 +02:00