Commit Graph

17 Commits (6426b0f5514d6a7c5cc369368947eceb380bfc85)

Author SHA1 Message Date
Zach Hilman 6314a799aa file_sys/crypto: Fix missing/unnecessary includes 8 years ago
Zach Hilman ccfd176382 key_manager: Eliminate indexed for loop 8 years ago
Zach Hilman 119ab308b5 key_manager: Create keys dir if it dosen't exist
On call to WriteKeyToFile, so that the autogenerated file can be written.
8 years ago
Zach Hilman a7e8d10969 file_sys: Cut down on includes and copies 8 years ago
Zach Hilman 42dc856ce1 crypto: Eliminate magic constants 8 years ago
Zach Hilman 61a5b56abd key_manager: Add support for autogenerated keys
Stored in a separate file than manual keys.
8 years ago
Zach Hilman f26fc64cb4 key_manager: Add support for KEK and SD seed derivation 8 years ago
Zach Hilman cde665c565 key_manager: Switch to boost flat_map for keys
Should make key gets marginally faster.
8 years ago
Lioncash b39cd70cd4 common: Namespace hex_util.h/.cpp
It's in the common code, so it should be under the Common namespace like
everything else.
8 years ago
Zach Hilman a27ec24c0f crypto: Remove hex utilities from key_manager
Move to hex_util.h in common
8 years ago
Lioncash 8da651ac4d core/crypto: Remove unnecessary includes 8 years ago
Lioncash c1f76abfaf 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.
8 years ago
Zach Hilman 187d8e215f Use more descriptive error codes and messages 8 years ago
Zach Hilman 03149d3e4a Add missing includes and use const where applicable 8 years ago
Zach Hilman 150527ec19 Allow key loading from %YUZU_DIR%/keys in addition to ~/.switch 8 years ago
Zach Hilman 239a3113e4 Make XCI comply to review and style guidelines 8 years ago
Zach Hilman df5b75694f Remove files that are not used 8 years ago