Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESFormats: Minor changes #5700

Merged
merged 2 commits into from
Jun 27, 2017
Merged

ESFormats: Minor changes #5700

merged 2 commits into from
Jun 27, 2017

Conversation

leoetlino
Copy link
Member

  • Change title key related functions to use a std::array instead of std::vector. The title key is always 16 bytes, so it doesn't make sense to make it a std::vector.

  • Reuse the kernel IOSC instance whenever that's possible. Saves memory and there's no reason to create a temporary instance when there's already one around.

The title key is always 16 bytes, so it doesn't make sense to make it
a std::vector.
Changes ESFormats to take an IOSC instance instead of creating its own
temporary instance unnecessarily.
@shuffle2
Copy link
Contributor

maybe in the future, typedef some stuff for commonly used crypto stuff like aes128 keys?

@shuffle2 shuffle2 merged commit 0f3ee2f into dolphin-emu:master Jun 27, 2017
@leoetlino leoetlino deleted the title-key branch June 27, 2017 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants