mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
VolumeVerifier: Don't read data multiple times
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user