Zach Hilman
a57aac5772
key_manager: Add base key derivation
Derives master keys, game encryption keys, and package1/2 keys
7 years ago
Zach Hilman
d7398283e3
key_manager: Add BIS key getter
7 years ago
Zach Hilman
d6a0d5d432
key_manager: Add support for more keys
TSEC, SBK, BIS, and other Sources for proper derivation
7 years ago
Zach Hilman
c79d2ca6cf
key_manager: Add keyblob support
7 years ago
Zach Hilman
ce05df0a6d
key_manager: Add support for console-specific keyfile
7 years ago
Zach Hilman
721632fe66
key_manager: Rename KEK to Kek
7 years ago
fearlessTobi
63c2e32e20
Port #4182 from Citra: "Prefix all size_t with std::"
7 years ago
Zach Hilman
5c8aff984e
card_image: Parse XCI secure partition with NSP
Eliminated duplicate code and adds support for Rev1+ carts
7 years ago
Lioncash
a813c10e1c
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.
7 years ago
Zach Hilman
6314a799aa
file_sys/crypto: Fix missing/unnecessary includes
7 years ago
Zach Hilman
a7e8d10969
file_sys: Cut down on includes and copies
7 years ago
Zach Hilman
61a5b56abd
key_manager: Add support for autogenerated keys
Stored in a separate file than manual keys.
7 years ago
Zach Hilman
f26fc64cb4
key_manager: Add support for KEK and SD seed derivation
7 years ago
Zach Hilman
cde665c565
key_manager: Switch to boost flat_map for keys
Should make key gets marginally faster.
7 years ago
Zach Hilman
a27ec24c0f
crypto: Remove hex utilities from key_manager
Move to hex_util.h in common
7 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
9d59b96ef9
Use static const instead of const static
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
c54a10cb4f
Update mbedtls and fix compile error
8 years ago
Zach Hilman
df5b75694f
Remove files that are not used
8 years ago