diff options
author | Lioncash <mathew1800@gmail.com> | 2018-10-13 15:13:19 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-10-13 15:13:19 +0200 |
commit | 6da2ed4232d3b3ecde7a04621c554f66de558fab (patch) | |
tree | 83184a61eecca6dcc5f543a5f69f93234eacdbc6 /src/core/crypto/partition_data_manager.h | |
parent | partition_data_manager: Dehardcode array bounds (diff) | |
download | yuzu-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 'src/core/crypto/partition_data_manager.h')
-rw-r--r-- | src/core/crypto/partition_data_manager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/crypto/partition_data_manager.h b/src/core/crypto/partition_data_manager.h index 7c9c4410a..9e448f720 100644 --- a/src/core/crypto/partition_data_manager.h +++ b/src/core/crypto/partition_data_manager.h @@ -34,7 +34,7 @@ public: // BOOT0 bool HasBoot0() const; FileSys::VirtualFile GetBoot0Raw() const; - EncryptedKeyBlob GetEncryptedKeyblob(u8 index) const; + EncryptedKeyBlob GetEncryptedKeyblob(std::size_t index) const; EncryptedKeyBlobs GetEncryptedKeyblobs() const; std::vector<u8> GetSecureMonitor() const; std::array<u8, 0x10> GetPackage2KeySource() const; @@ -46,7 +46,7 @@ public: std::vector<u8> GetPackage1Decrypted() const; std::array<u8, 0x10> GetMasterKeySource() const; std::array<u8, 0x10> GetKeyblobMACKeySource() const; - std::array<u8, 0x10> GetKeyblobKeySource(u8 revision) const; + std::array<u8, 0x10> GetKeyblobKeySource(std::size_t revision) const; // Fuses bool HasFuses() const; |