summaryrefslogtreecommitdiffstats
path: root/src/core/crypto/key_manager.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-06-03android: frontend: Integrate key installation for SAF.bunnei1-1/+1
2023-06-03core: crypto: key_manager: Add methods to reload & validate keys.bunnei1-0/+3
2023-03-12general: fix spelling mistakesLiam1-1/+1
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-3/+2
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2022-03-20general: Fix clang/gcc build errorsameerj1-4/+1
2022-03-19core: Reduce unused includesameerj1-1/+4
2021-11-04core: Fix transitive include build errorsameerj1-0/+1
2021-11-04core: Remove unused includesameerj1-2/+0
2021-05-26common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270)Morph1-3/+3
* common: fs: fs_types: Create filesystem types Contains various filesystem types used by the Common::FS library * common: fs: fs_util: Add std::string to std::u8string conversion utility * common: fs: path_util: Add utlity functions for paths Contains various utility functions for getting or manipulating filesystem paths used by the Common::FS library * common: fs: file: Rewrite the IOFile implementation * common: fs: Reimplement Common::FS library using std::filesystem * common: fs: fs_paths: Add fs_paths to replace common_paths * common: fs: path_util: Add the rest of the path functions * common: Remove the previous Common::FS implementation * general: Remove unused fs includes * string_util: Remove unused function and include * nvidia_flags: Migrate to the new Common::FS library * settings: Migrate to the new Common::FS library * logging: backend: Migrate to the new Common::FS library * core: Migrate to the new Common::FS library * perf_stats: Migrate to the new Common::FS library * reporter: Migrate to the new Common::FS library * telemetry_session: Migrate to the new Common::FS library * key_manager: Migrate to the new Common::FS library * bis_factory: Migrate to the new Common::FS library * registered_cache: Migrate to the new Common::FS library * xts_archive: Migrate to the new Common::FS library * service: acc: Migrate to the new Common::FS library * applets/profile: Migrate to the new Common::FS library * applets/web: Migrate to the new Common::FS library * service: filesystem: Migrate to the new Common::FS library * loader: Migrate to the new Common::FS library * gl_shader_disk_cache: Migrate to the new Common::FS library * nsight_aftermath_tracker: Migrate to the new Common::FS library * vulkan_library: Migrate to the new Common::FS library * configure_debug: Migrate to the new Common::FS library * game_list_worker: Migrate to the new Common::FS library * config: Migrate to the new Common::FS library * configure_filesystem: Migrate to the new Common::FS library * configure_per_game_addons: Migrate to the new Common::FS library * configure_profile_manager: Migrate to the new Common::FS library * configure_ui: Migrate to the new Common::FS library * input_profiles: Migrate to the new Common::FS library * yuzu_cmd: config: Migrate to the new Common::FS library * yuzu_cmd: Migrate to the new Common::FS library * vfs_real: Migrate to the new Common::FS library * vfs: Migrate to the new Common::FS library * vfs_libzip: Migrate to the new Common::FS library * service: bcat: Migrate to the new Common::FS library * yuzu: main: Migrate to the new Common::FS library * vfs_real: Delete the contents of an existing file in CreateFile Current usages of CreateFile expect to delete the contents of an existing file, retain this behavior for now. * input_profiles: Don't iterate the input profile dir if it does not exist Silences an error produced in the log if the directory does not exist. * game_list_worker: Skip parsing file if the returned VfsFile is nullptr Prevents crashes in GetLoader when the virtual file is nullptr * common: fs: Validate paths for path length * service: filesystem: Open the mod load directory as read only
2020-09-14crypto/key_manager: Remove dependency on the global system accessorLioncash1-1/+5
We can supply the content provider as an argument instead of hardcoding a global accessor in the implementation.
2020-08-23key_manager: Make data arrays constexprLioncash1-4/+0
We can convert these maps into constexpr arrays to eliminate some runtime static constructors.
2020-08-16common/fileutil: Convert namespace to Common::FSLioncash1-2/+2
Migrates a remaining common file over to the Common namespace, making it consistent with the rest of common files. This also allows for high-traffic FS related code to alias the filesystem function namespace as namespace FS = Common::FS; for more concise typing.
2020-07-01key_manager: Correct casing of instance()Lioncash1-1/+1
Our codebase uppercases member function names.
2020-07-01key_manager: Delete move operationsLioncash1-0/+3
Prevents the singleton from being moved from.
2020-07-01key_manager: Make use of canonical deleted operator=Lioncash1-2/+2
operator= typically returns a reference, it's not void. While we're at it, we can correct the parameter formatting to adhere to the codebase.
2020-05-20crypto: Make KeyManager a singleton classFearlessTobi1-1/+9
Previously, we were reading the keys everytime a KeyManager object was created, causing yuzu to reread the keys file multiple hundreds of times when loading the game list. With this change, it is only loaded once. On my system, this decreased game list loading times by a factor of 20.
2019-07-08key_manager: Convert Ticket union to std::variantZach Hilman1-20/+30
2019-07-08es: Populate/synthesize tickets on constructionZach Hilman1-0/+1
2019-07-08key_manager: Add structure for Ticket parsingZach Hilman1-13/+83
2019-07-08key_manager: Add accessors/helpers for ticket managementZach Hilman1-0/+14
2019-07-08key_manager: Add equality operator for RSAKeyPairZach Hilman1-0/+7
2018-10-30global: Use std::optional instead of boost::optional (#1578)Frederic L1-4/+5
* get rid of boost::optional * Remove optional references * Use std::reference_wrapper for optional references * Fix clang format * Fix clang format part 2 * Adressed feedback * Fix clang format and MacOS build
2018-10-13key_manager/partition_data_manager: Silence truncation compiler warningsLioncash1-1/+1
2018-10-07partition_data_manager: Rename system files for hekateZach Hilman1-5/+11
x
2018-10-07key_manager: Add support for loading keys from partition dataZach Hilman1-0/+2
2018-10-07key_manager: Add ETicket key derivationZach Hilman1-2/+27
Derives titlekeys
2018-10-07key_manager: Add base key derivationZach Hilman1-4/+11
Derives master keys, game encryption keys, and package1/2 keys
2018-10-07key_manager: Add BIS key getterZach Hilman1-0/+2
2018-10-07key_manager: Add support for more keysZach Hilman1-2/+32
TSEC, SBK, BIS, and other Sources for proper derivation
2018-10-07key_manager: Add keyblob supportZach Hilman1-0/+4
2018-10-07key_manager: Add support for console-specific keyfileZach Hilman1-0/+6
2018-10-07key_manager: Rename KEK to KekZach Hilman1-3/+3
2018-09-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi1-1/+1
2018-09-04card_image: Parse XCI secure partition with NSPZach Hilman1-0/+2
Eliminated duplicate code and adds support for Rev1+ carts
2018-09-04file_sys: Replace includes with forward declarations where applicableLioncash1-4/+5
Cuts down on include dependencies, resulting in less files that need to be rebuilt when certain things are changed.
2018-08-25file_sys/crypto: Fix missing/unnecessary includesZach Hilman1-0/+1
2018-08-23file_sys: Cut down on includes and copiesZach Hilman1-4/+2
2018-08-23key_manager: Add support for autogenerated keysZach Hilman1-0/+2
Stored in a separate file than manual keys.
2018-08-23key_manager: Add support for KEK and SD seed derivationZach Hilman1-3/+23
2018-08-23key_manager: Switch to boost flat_map for keysZach Hilman1-30/+11
Should make key gets marginally faster.
2018-08-12crypto: Remove hex utilities from key_managerZach Hilman1-3/+0
Move to hex_util.h in common
2018-08-04key_manager: Use regular std::string instead of std::string_viewLioncash1-3/+4
The benefit of std::string_view comes from the idea of avoiding copies (essentially acting as a non-owning view), however if we're just going to copy into a local variable immediately, there's not much benefit gained here.
2018-08-01Use more descriptive error codes and messagesZach Hilman1-0/+2
2018-08-01Use static const instead of const staticZach Hilman1-2/+2
2018-08-01Add missing includes and use const where applicableZach Hilman1-3/+4
2018-08-01Allow key loading from %YUZU_DIR%/keys in addition to ~/.switchZach Hilman1-0/+2
2018-08-01Make XCI comply to review and style guidelinesZach Hilman1-40/+37
2018-08-01Update mbedtls and fix compile errorZach Hilman1-0/+1
2018-08-01Remove files that are not usedZach Hilman1-0/+116