card_image: Parse XCI secure partition with NSP
Eliminated duplicate code and adds support for Rev1+ carts
This commit is contained in:
parent
93703431e2
commit
5c8aff984e
4 changed files with 38 additions and 11 deletions
|
@ -17,6 +17,8 @@ enum class ResultStatus : u16;
|
|||
|
||||
namespace Core::Crypto {
|
||||
|
||||
constexpr u64 TICKET_FILE_TITLEKEY_OFFSET = 0x180;
|
||||
|
||||
using Key128 = std::array<u8, 0x10>;
|
||||
using Key256 = std::array<u8, 0x20>;
|
||||
using SHA256Hash = std::array<u8, 0x20>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue