summaryrefslogtreecommitdiff
path: root/src/core/crypto (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* key_manager: Avoid autogeneration if key existsGravatar Zach Hilman2018-09-041-3/+13
|
* file_sys: Replace includes with forward declarations where applicableGravatar Lioncash2018-09-032-4/+8
| | | | | 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-244-4/+4
|
* key_manager: Eliminate indexed for loopGravatar Zach Hilman2018-08-231-6/+13
|
* key_manager: Create keys dir if it dosen't existGravatar Zach Hilman2018-08-231-0/+1
| | | | On call to WriteKeyToFile, so that the autogenerated file can be written.
* file_sys: Cut down on includes and copiesGravatar Zach Hilman2018-08-232-15/+13
|
* crypto: Eliminate magic constantsGravatar Zach Hilman2018-08-232-16/+19
|
* key_manager: Add support for autogenerated keysGravatar Zach Hilman2018-08-232-3/+45
| | | | Stored in a separate file than manual keys.
* key_manager: Add support for KEK and SD seed derivationGravatar Zach Hilman2018-08-232-5/+135
|
* key_manager: Switch to boost flat_map for keysGravatar Zach Hilman2018-08-232-32/+14
| | | | Should make key gets marginally faster.
* xts_encryption_layer: Implement XTSEncryptionLayerGravatar Zach Hilman2018-08-232-0/+80
|
* aes_util: Make XTSTranscode stricter about sizesGravatar Zach Hilman2018-08-231-5/+2
| | | | XTS with Nintendo Tweak will fail mysteriously if the sector size is not 0x4000. Upgrade the critical log to an assert to prevent undefined behavior.
* ctr_encryption_layer: Fix bug when transcoding small dataGravatar Zach Hilman2018-08-231-5/+3
| | | | Fixes a bug where data lengths of less than size 0x10 will fail or have misleading return values.
* common: Namespace hex_util.h/.cppGravatar Lioncash2018-08-151-4/+4
| | | | | It's in the common code, so it should be under the Common namespace like everything else.
* crypto: Remove hex utilities from key_managerGravatar Zach Hilman2018-08-112-36/+2
| | | | Move to hex_util.h in common
* aes_util: Add static assertion to Transcode() and XTSTranscode() to ensure ↵Gravatar Lioncash2018-08-041-0/+4
| | | | | | well-defined behavior These functions should only be given trivially-copyable types.
* aes_util: Make CalculateNintendoTweak() an internally linked functionGravatar Lioncash2018-08-042-12/+10
| | | | | This function doesn't directly depend on class state, so it can be hidden entirely from the interface in the cpp file.
* aes_util: Make Transcode() a const member functionGravatar Lioncash2018-08-042-8/+9
| | | | This doesn't modify member state, so it can be made const.
* core/crypto: Remove unnecessary includesGravatar Lioncash2018-08-044-5/+5
|
* key_manager: Use regular std::string instead of std::string_viewGravatar Lioncash2018-08-042-10/+7
| | | | | | | 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-012-5/+24
|
* Use static const instead of const staticGravatar Zach Hilman2018-08-011-2/+2
|
* Add missing includes and use const where applicableGravatar Zach Hilman2018-08-016-15/+23
|
* Allow key loading from %YUZU_DIR%/keys in addition to ~/.switchGravatar Zach Hilman2018-08-012-7/+20
|
* Make XCI comply to review and style guidelinesGravatar Zach Hilman2018-08-018-405/+187
|
* Extract mbedtls to cpp fileGravatar Zach Hilman2018-08-012-85/+123
|
* Add missing string.h includeGravatar Zach Hilman2018-08-011-0/+1
|
* Update mbedtls and fix compile errorGravatar Zach Hilman2018-08-011-0/+1
|
* Remove files that are not usedGravatar Zach Hilman2018-08-0110-0/+834