aes_util: Make CalculateNintendoTweak() an internally linked function

This function doesn't directly depend on class state, so it can be
hidden entirely from the interface in the cpp file.
This commit is contained in:
Lioncash 2018-08-04 16:52:19 -04:00
parent b25468b498
commit 64c8212ae1
2 changed files with 10 additions and 12 deletions

View file

@ -56,7 +56,5 @@ public:
private:
std::unique_ptr<CipherContext> ctx;
static std::vector<u8> CalculateNintendoTweak(size_t sector_id);
};
} // namespace Core::Crypto