key_manager: Add support for console-specific keyfile

This commit is contained in:
Zach Hilman 2018-09-23 20:37:27 -04:00
parent 721632fe66
commit ce05df0a6d
2 changed files with 13 additions and 3 deletions

View file

@ -26,6 +26,12 @@ using SHA256Hash = std::array<u8, 0x20>;
static_assert(sizeof(Key128) == 16, "Key128 must be 128 bytes big.");
static_assert(sizeof(Key256) == 32, "Key128 must be 128 bytes big.");
enum class KeyCategory : u8 {
Standard,
Title,
Console,
};
enum class S256KeyType : u64 {
Header, //
SDKeySource, // f1=SDKeyType