fearlessTobi
ac0723e7be
Port #4182 from Citra: "Prefix all size_t with std::"
2018-09-15 15:21:06 +02:00
Zach Hilman
fa75359060
nsp: Comply with style and performance guidelines
2018-09-04 14:29:19 -04:00
Zach Hilman
3e751c7787
key_manager: Avoid autogeneration if key exists
2018-09-04 14:25:54 -04:00
Lioncash
7a7b311c4e
file_sys: Replace includes with forward declarations where applicable
...
Cuts down on include dependencies, resulting in less files that need to
be rebuilt when certain things are changed.
2018-09-03 22:52:24 -04:00
Zach Hilman
a4aa35bdb0
file_sys/crypto: Fix missing/unnecessary includes
2018-08-24 22:15:32 -04:00
Zach Hilman
81ecb877ad
key_manager: Eliminate indexed for loop
2018-08-23 11:53:30 -04:00
Zach Hilman
5d3f5e78a8
key_manager: Create keys dir if it dosen't exist
...
On call to WriteKeyToFile, so that the autogenerated file can be written.
2018-08-23 11:53:30 -04:00
Zach Hilman
129f55b31f
file_sys: Cut down on includes and copies
2018-08-23 11:53:30 -04:00
Zach Hilman
d305e65066
crypto: Eliminate magic constants
2018-08-23 11:53:30 -04:00
Zach Hilman
8cb3e10fe2
key_manager: Add support for autogenerated keys
...
Stored in a separate file than manual keys.
2018-08-23 11:53:30 -04:00
Zach Hilman
de958cdb9e
key_manager: Add support for KEK and SD seed derivation
2018-08-23 11:53:30 -04:00
Zach Hilman
25fc075e76
key_manager: Switch to boost flat_map for keys
...
Should make key gets marginally faster.
2018-08-23 11:53:30 -04:00
Lioncash
2aeef2dfa7
common: Namespace hex_util.h/.cpp
...
It's in the common code, so it should be under the Common namespace like
everything else.
2018-08-15 23:24:00 -04:00
Zach Hilman
e3e3de2b93
crypto: Remove hex utilities from key_manager
...
Move to hex_util.h in common
2018-08-11 22:50:08 -04:00
Lioncash
ecb43ddf2f
core/crypto: Remove unnecessary includes
2018-08-04 16:44:07 -04:00
Lioncash
f3cbb7be73
key_manager: Use regular std::string instead of std::string_view
...
The benefit of std::string_view comes from the idea of avoiding copies
(essentially acting as a non-owning view), however if we're just going
to copy into a local variable immediately, there's not much benefit
gained here.
2018-08-04 16:37:30 -04:00
Zach Hilman
cadade1b28
Use more descriptive error codes and messages
2018-08-01 00:16:54 -04:00
Zach Hilman
10ff006bb0
Add missing includes and use const where applicable
2018-08-01 00:16:54 -04:00
Zach Hilman
35c20735f0
Allow key loading from %YUZU_DIR%/keys in addition to ~/.switch
2018-08-01 00:16:54 -04:00
Zach Hilman
05354beadb
Make XCI comply to review and style guidelines
2018-08-01 00:16:54 -04:00
Zach Hilman
2f355a1609
Remove files that are not used
2018-08-01 00:16:54 -04:00