mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
VolumeVerifier: Don't read data multiple times
This commit is contained in:
parent
24718c1a38
commit
f754a1a548
6 changed files with 69 additions and 23 deletions
|
@ -39,6 +39,8 @@ public:
|
|||
GetCertificateChain(const Partition& partition = PARTITION_NONE) const override;
|
||||
std::vector<u8> GetContent(u16 index) const override;
|
||||
std::vector<u64> GetContentOffsets() const override;
|
||||
bool CheckContentIntegrity(const IOS::ES::Content& content, const std::vector<u8>& encrypted_data,
|
||||
const IOS::ES::TicketReader& ticket) const override;
|
||||
bool CheckContentIntegrity(const IOS::ES::Content& content, u64 content_offset,
|
||||
const IOS::ES::TicketReader& ticket) const override;
|
||||
IOS::ES::TicketReader GetTicketWithFixedCommonKey() const override;
|
||||
|
@ -66,9 +68,6 @@ public:
|
|||
u64 GetRawSize() const override;
|
||||
|
||||
private:
|
||||
bool CheckContentIntegrity(const IOS::ES::Content& content, const std::vector<u8>& encrypted_data,
|
||||
const IOS::ES::TicketReader& ticket) const;
|
||||
|
||||
std::unique_ptr<BlobReader> m_reader;
|
||||
IOS::ES::TicketReader m_ticket;
|
||||
IOS::ES::TMDReader m_tmd;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue