summaryrefslogtreecommitdiff
path: root/src/core/crypto/key_manager.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* core: Add support for loading NSPs with personalized tickets. (#10048)Gravatar Steveice102023-09-051-17/+42
| | | | Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
* android: frontend: Integrate key installation for SAF.Gravatar bunnei2023-06-031-1/+1
|
* core: crypto: key_manager: Add methods to reload & validate keys.Gravatar bunnei2023-06-031-0/+3
|
* general: fix spelling mistakesGravatar Liam2023-03-121-1/+1
|
* general: Convert source file copyright comments over to SPDXGravatar Morph2022-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 errorsGravatar ameerj2021-11-031-0/+1
|
* core: Remove unused includesGravatar ameerj2021-11-031-2/+0
|
* common: fs: Rework the Common Filesystem interface to make use of ↵Gravatar Morph2021-05-251-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | std::filesystem (#6270) * 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 accessorGravatar Lioncash2020-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 constexprGravatar Lioncash2020-08-221-4/+0
| | | | | We can convert these maps into constexpr arrays to eliminate some runtime static constructors.
* common/fileutil: Convert namespace to Common::FSGravatar Lioncash2020-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()Gravatar Lioncash2020-07-011-1/+1
| | | | Our codebase uppercases member function names.
* key_manager: Delete move operationsGravatar Lioncash2020-07-011-0/+3
| | | | Prevents the singleton from being moved from.
* key_manager: Make use of canonical deleted operator=Gravatar 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 classGravatar FearlessTobi2020-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::variantGravatar Zach Hilman2019-07-071-20/+30
|
* es: Populate/synthesize tickets on constructionGravatar Zach Hilman2019-07-071-0/+1
|
* key_manager: Add structure for Ticket parsingGravatar Zach Hilman2019-07-071-13/+83
|
* key_manager: Add accessors/helpers for ticket managementGravatar Zach Hilman2019-07-071-0/+14
|
* key_manager: Add equality operator for RSAKeyPairGravatar Zach Hilman2019-07-071-0/+7
|
* global: Use std::optional instead of boost::optional (#1578)Gravatar 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 warningsGravatar Lioncash2018-10-131-1/+1
|
* partition_data_manager: Rename system files for hekateGravatar Zach Hilman2018-10-071-5/+11
| | | | x
* key_manager: Add support for loading keys from partition dataGravatar Zach Hilman2018-10-071-0/+2
|
* key_manager: Add ETicket key derivationGravatar Zach Hilman2018-10-071-2/+27
| | | | Derives titlekeys
* key_manager: Add base key derivationGravatar Zach Hilman2018-10-071-4/+11
| | | | Derives master keys, game encryption keys, and package1/2 keys
* key_manager: Add BIS key getterGravatar Zach Hilman2018-10-071-0/+2
|
* key_manager: Add support for more keysGravatar Zach Hilman2018-10-071-2/+32
| | | | TSEC, SBK, BIS, and other Sources for proper derivation
* key_manager: Add keyblob supportGravatar Zach Hilman2018-10-071-0/+4
|
* key_manager: Add support for console-specific keyfileGravatar Zach Hilman2018-10-071-0/+6
|
* key_manager: Rename KEK to KekGravatar Zach Hilman2018-10-071-3/+3
|
* Port #4182 from Citra: "Prefix all size_t with std::"Gravatar fearlessTobi2018-09-151-1/+1
|
* card_image: Parse XCI secure partition with NSPGravatar Zach Hilman2018-09-041-0/+2
| | | | Eliminated duplicate code and adds support for Rev1+ carts
* file_sys: Replace includes with forward declarations where applicableGravatar Lioncash2018-09-031-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 includesGravatar Zach Hilman2018-08-241-0/+1
|
* file_sys: Cut down on includes and copiesGravatar Zach Hilman2018-08-231-4/+2
|
* key_manager: Add support for autogenerated keysGravatar Zach Hilman2018-08-231-0/+2
| | | | Stored in a separate file than manual keys.
* key_manager: Add support for KEK and SD seed derivationGravatar Zach Hilman2018-08-231-3/+23
|
* key_manager: Switch to boost flat_map for keysGravatar Zach Hilman2018-08-231-30/+11
| | | | Should make key gets marginally faster.
* crypto: Remove hex utilities from key_managerGravatar Zach Hilman2018-08-111-3/+0
| | | | Move to hex_util.h in common
* key_manager: Use regular std::string instead of std::string_viewGravatar Lioncash2018-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 messagesGravatar Zach Hilman2018-08-011-0/+2
|
* Use static const instead of const staticGravatar Zach Hilman2018-08-011-2/+2
|
* Add missing includes and use const where applicableGravatar Zach Hilman2018-08-011-3/+4
|
* Allow key loading from %YUZU_DIR%/keys in addition to ~/.switchGravatar Zach Hilman2018-08-011-0/+2
|
* Make XCI comply to review and style guidelinesGravatar Zach Hilman2018-08-011-40/+37
|
* Update mbedtls and fix compile errorGravatar Zach Hilman2018-08-011-0/+1
|
* Remove files that are not usedGravatar Zach Hilman2018-08-011-0/+116