summaryrefslogtreecommitdiffstats
path: root/src/core/crypto/key_manager.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-10-13 15:13:19 +0200
committerLioncash <mathew1800@gmail.com>2018-10-13 15:13:19 +0200
commit6da2ed4232d3b3ecde7a04621c554f66de558fab (patch)
tree83184a61eecca6dcc5f543a5f69f93234eacdbc6 /src/core/crypto/key_manager.h
parentpartition_data_manager: Dehardcode array bounds (diff)
downloadyuzu-6da2ed4232d3b3ecde7a04621c554f66de558fab.tar
yuzu-6da2ed4232d3b3ecde7a04621c554f66de558fab.tar.gz
yuzu-6da2ed4232d3b3ecde7a04621c554f66de558fab.tar.bz2
yuzu-6da2ed4232d3b3ecde7a04621c554f66de558fab.tar.lz
yuzu-6da2ed4232d3b3ecde7a04621c554f66de558fab.tar.xz
yuzu-6da2ed4232d3b3ecde7a04621c554f66de558fab.tar.zst
yuzu-6da2ed4232d3b3ecde7a04621c554f66de558fab.zip
Diffstat (limited to '')
-rw-r--r--src/core/crypto/key_manager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/crypto/key_manager.h b/src/core/crypto/key_manager.h
index a41abbdfc..cccb3c0ae 100644
--- a/src/core/crypto/key_manager.h
+++ b/src/core/crypto/key_manager.h
@@ -175,7 +175,7 @@ private:
void WriteKeyToFile(KeyCategory category, std::string_view keyname,
const std::array<u8, Size>& key);
- void DeriveGeneralPurposeKeys(u8 crypto_revision);
+ void DeriveGeneralPurposeKeys(std::size_t crypto_revision);
void SetKeyWrapped(S128KeyType id, Key128 key, u64 field1 = 0, u64 field2 = 0);
void SetKeyWrapped(S256KeyType id, Key256 key, u64 field1 = 0, u64 field2 = 0);