summaryrefslogtreecommitdiffstats
path: root/src/core/crypto
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-08-25 17:48:23 +0200
committerZach Hilman <zachhilman@gmail.com>2018-09-04 20:27:33 +0200
commit5c8aff984e47c0f471e9eafd071031bc49ad8efc (patch)
treeac5ecdfc187f04a677b61f62eea6d6614326e636 /src/core/crypto
parentfile_sys: Add Nintendo Submission Package (NSP) (diff)
downloadyuzu-5c8aff984e47c0f471e9eafd071031bc49ad8efc.tar
yuzu-5c8aff984e47c0f471e9eafd071031bc49ad8efc.tar.gz
yuzu-5c8aff984e47c0f471e9eafd071031bc49ad8efc.tar.bz2
yuzu-5c8aff984e47c0f471e9eafd071031bc49ad8efc.tar.lz
yuzu-5c8aff984e47c0f471e9eafd071031bc49ad8efc.tar.xz
yuzu-5c8aff984e47c0f471e9eafd071031bc49ad8efc.tar.zst
yuzu-5c8aff984e47c0f471e9eafd071031bc49ad8efc.zip
Diffstat (limited to 'src/core/crypto')
-rw-r--r--src/core/crypto/key_manager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/crypto/key_manager.h b/src/core/crypto/key_manager.h
index bf51bf31f..ce67913bb 100644
--- a/src/core/crypto/key_manager.h
+++ b/src/core/crypto/key_manager.h
@@ -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>;