Commit Graph

14 Commits

Author SHA1 Message Date
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