mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 14:35:46 +00:00
key_manager: Add support for autogenerated keys
Stored in a separate file than manual keys.
This commit is contained in:
parent
abfa173778
commit
5b8fdc94e2
2 changed files with 45 additions and 3 deletions
|
@ -106,6 +106,8 @@ private:
|
|||
void LoadFromFile(const std::string& filename, bool is_title_keys);
|
||||
void AttemptLoadKeyFile(const std::string& dir1, const std::string& dir2,
|
||||
const std::string& filename, bool title);
|
||||
template <size_t Size>
|
||||
void WriteKeyToFile(bool title_key, std::string_view keyname, std::array<u8, Size> key);
|
||||
|
||||
static const boost::container::flat_map<std::string, KeyIndex<S128KeyType>> s128_file_id;
|
||||
static const boost::container::flat_map<std::string, KeyIndex<S256KeyType>> s256_file_id;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue