summaryrefslogtreecommitdiffstats
path: root/src/core/crypto/key_manager.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* android: frontend: Integrate key installation for SAF.bunnei2023-06-031-1/+1
|
* core: crypto: key_manager: Add methods to reload & validate keys.bunnei2023-06-031-0/+3
|
* general: fix spelling mistakesLiam2023-03-121-1/+1
|
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-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.
* core: Fix transitive include build errorsameerj2021-11-041-0/+1
|
* core: Remove unused includesameerj2021-11-041-2/+0
|
* common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270)Morph2021-05-261-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
* crypto/key_manager: Remove dependency on the global system accessorLioncash2020-09-141-1/+5
| | | | | We can supply the content provider as an argument instead of hardcoding a global accessor in the implementation.
* key_manager: Make data arrays constexprLioncash2020-08-231-4/+0
| | | | | We can convert these maps into constexpr arrays to eliminate some runtime static constructors.
* common/fileutil: Convert namespace to Common::FSLioncash2020-08-161-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.
* key_manager: Correct casing of instance()Lioncash2020-07-011-1/+1
| | | | Our codebase uppercases member function names.
* key_manager: Delete move operationsLioncash2020-07-011-0/+3
| | | | Prevents the singleton from being moved from.
* key_manager: Make use of canonical deleted operator=Lioncash2020-07-011-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.
* crypto: Make KeyManager a singleton classFearlessTobi2020-05-201-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.
* key_manager: Convert Ticket union to std::variantZach Hilman2019-07-081-20/+30
|
* es: Populate/synthesize tickets on constructionZach Hilman2019-07-081-0/+1
|
* key_manager: Add structure for Ticket parsingZach Hilman2019-07-081-13/+83
|
* key_manager: Add accessors/helpers for ticket managementZach Hilman2019-07-081-0/+14
|
* key_manager: Add equality operator for RSAKeyPairZach Hilman2019-07-081-0/+7
|
* global: Use std::optional instead of boost::optional (#1578)Frederic L2018-10-301-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
* key_manager/partition_data_manager: Silence truncation compiler warningsLioncash2018-10-131-1/+1
|
* partition_data_manager: Rename system files for hekateZach Hilman2018-10-071-5/+11
| | | | x
* key_manager: Add support for loading keys from partition dataZach Hilman2018-10-071-0/+2
|
* key_manager: Add ETicket key derivationZach Hilman2018-10-071-2/+27
| | | | Derives titlekeys
* key_manager: Add base key derivationZach Hilman2018-10-071-4/+11
| | | | Derives master keys, game encryption keys, and package1/2 keys
* key_manager: Add BIS key getterZach Hilman2018-10-071-0/+2
|
* key_manager: Add support for more keysZach Hilman2018-10-071-2/+32
| | | | TSEC, SBK, BIS, and other Sources for proper derivation
* key_manager: Add keyblob supportZach Hilman2018-10-071-0/+4
|
* key_manager: Add support for console-specific keyfileZach Hilman2018-10-071-0/+6
|
* key_manager: Rename KEK to KekZach Hilman2018-10-071-3/+3
|
* Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi2018-09-151-1/+1
|
* card_image: Parse XCI secure partition with NSPZach Hilman2018-09-041-0/+2
| | | | Eliminated duplicate code and adds support for Rev1+ carts
* file_sys: Replace includes with forward declarations where applicableLioncash2018-09-041-4/+5
| | | | | Cuts down on include dependencies, resulting in less files that need to be rebuilt when certain things are changed.
* file_sys/crypto: Fix missing/unnecessary includesZach Hilman2018-08-251-0/+1
|
* file_sys: Cut down on includes and copiesZach Hilman2018-08-231-4/+2
|
* key_manager: Add support for autogenerated keysZach Hilman2018-08-231-0/+2
| | | | Stored in a separate file than manual keys.
* key_manager: Add support for KEK and SD seed derivationZach Hilman2018-08-231-3/+23
|
* key_manager: Switch to boost flat_map for keysZach Hilman2018-08-231-30/+11
| | | | Should make key gets marginally faster.
* crypto: Remove hex utilities from key_managerZach Hilman2018-08-121-3/+0
| | | | Move to hex_util.h in common
* key_manager: Use regular std::string instead of std::string_viewLioncash2018-08-041-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.
* Use more descriptive error codes and messagesZach Hilman2018-08-011-0/+2
|
* Use static const instead of const staticZach Hilman2018-08-011-2/+2
|
* Add missing includes and use const where applicableZach Hilman2018-08-011-3/+4
|
* Allow key loading from %YUZU_DIR%/keys in addition to ~/.switchZach Hilman2018-08-011-0/+2
|
* Make XCI comply to review and style guidelinesZach Hilman2018-08-011-40/+37
|
* Update mbedtls and fix compile errorZach Hilman2018-08-011-0/+1
|
* Remove files that are not usedZach Hilman2018-08-011-0/+116