summaryrefslogtreecommitdiffstats
path: root/src/core/crypto (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-09-04game_list: Use RegisteredCacheUnion for installedZach Hilman1-1/+1
Reduces code
2018-09-04aes_util: Fix error involving reads of less than 0x10Zach Hilman1-0/+14
Issues with block size are fixed by making all reads minimum length of 0x10
2018-09-04nsp: Comply with style and performance guidelinesZach Hilman1-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-04key_manager: Avoid autogeneration if key existsZach Hilman1-3/+13
2018-09-04file_sys: Replace includes with forward declarations where applicableLioncash2-4/+8
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 Hilman4-4/+4
2018-08-23key_manager: Eliminate indexed for loopZach Hilman1-6/+13
2018-08-23key_manager: Create keys dir if it dosen't existZach Hilman1-0/+1
On call to WriteKeyToFile, so that the autogenerated file can be written.
2018-08-23file_sys: Cut down on includes and copiesZach Hilman2-15/+13
2018-08-23crypto: Eliminate magic constantsZach Hilman2-16/+19
2018-08-23key_manager: Add support for autogenerated keysZach Hilman2-3/+45
Stored in a separate file than manual keys.
2018-08-23key_manager: Add support for KEK and SD seed derivationZach Hilman2-5/+135
2018-08-23key_manager: Switch to boost flat_map for keysZach Hilman2-32/+14
Should make key gets marginally faster.
2018-08-23xts_encryption_layer: Implement XTSEncryptionLayerZach Hilman2-0/+80
2018-08-23aes_util: Make XTSTranscode stricter about sizesZach Hilman1-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.
2018-08-23ctr_encryption_layer: Fix bug when transcoding small dataZach Hilman1-5/+3
Fixes a bug where data lengths of less than size 0x10 will fail or have misleading return values.
2018-08-16common: Namespace hex_util.h/.cppLioncash1-4/+4
It's in the common code, so it should be under the Common namespace like everything else.
2018-08-12crypto: Remove hex utilities from key_managerZach Hilman2-36/+2
Move to hex_util.h in common
2018-08-04aes_util: Add static assertion to Transcode() and XTSTranscode() to ensure well-defined behaviorLioncash1-0/+4
These functions should only be given trivially-copyable types.
2018-08-04aes_util: Make CalculateNintendoTweak() an internally linked functionLioncash2-12/+10
This function doesn't directly depend on class state, so it can be hidden entirely from the interface in the cpp file.
2018-08-04aes_util: Make Transcode() a const member functionLioncash2-8/+9
This doesn't modify member state, so it can be made const.
2018-08-04core/crypto: Remove unnecessary includesLioncash4-5/+5
2018-08-04key_manager: Use regular std::string instead of std::string_viewLioncash2-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.
2018-08-01Use more descriptive error codes and messagesZach Hilman2-5/+24
2018-08-01Use static const instead of const staticZach Hilman1-2/+2
2018-08-01Add missing includes and use const where applicableZach Hilman6-15/+23
2018-08-01Allow key loading from %YUZU_DIR%/keys in addition to ~/.switchZach Hilman2-7/+20
2018-08-01Make XCI comply to review and style guidelinesZach Hilman8-405/+187
2018-08-01Extract mbedtls to cpp fileZach Hilman2-85/+123
2018-08-01Add missing string.h includeZach Hilman1-0/+1
2018-08-01Update mbedtls and fix compile errorZach Hilman1-0/+1
2018-08-01Remove files that are not usedZach Hilman10-0/+834