aboutsummaryrefslogtreecommitdiff
path: root/src/core/crypto
AgeCommit message (Collapse)Author
2018-08-24file_sys/crypto: Fix missing/unnecessary includesZach Hilman
2018-08-23key_manager: Eliminate indexed for loopZach Hilman
2018-08-23key_manager: Create keys dir if it dosen't existZach Hilman
On call to WriteKeyToFile, so that the autogenerated file can be written.
2018-08-23file_sys: Cut down on includes and copiesZach Hilman
2018-08-23crypto: Eliminate magic constantsZach Hilman
2018-08-23key_manager: Add support for autogenerated keysZach Hilman
Stored in a separate file than manual keys.
2018-08-23key_manager: Add support for KEK and SD seed derivationZach Hilman
2018-08-23key_manager: Switch to boost flat_map for keysZach Hilman
Should make key gets marginally faster.
2018-08-23xts_encryption_layer: Implement XTSEncryptionLayerZach Hilman
2018-08-23aes_util: Make XTSTranscode stricter about sizesZach Hilman
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 Hilman
Fixes a bug where data lengths of less than size 0x10 will fail or have misleading return values.
2018-08-15common: Namespace hex_util.h/.cppLioncash
It's in the common code, so it should be under the Common namespace like everything else.
2018-08-11crypto: Remove hex utilities from key_managerZach Hilman
Move to hex_util.h in common
2018-08-04aes_util: Add static assertion to Transcode() and XTSTranscode() to ensure ↵Lioncash
well-defined behavior These functions should only be given trivially-copyable types.
2018-08-04aes_util: Make CalculateNintendoTweak() an internally linked functionLioncash
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 functionLioncash
This doesn't modify member state, so it can be made const.
2018-08-04core/crypto: Remove unnecessary includesLioncash
2018-08-04key_manager: Use regular std::string instead of std::string_viewLioncash
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 Hilman
2018-08-01Use static const instead of const staticZach Hilman
2018-08-01Add missing includes and use const where applicableZach Hilman
2018-08-01Allow key loading from %YUZU_DIR%/keys in addition to ~/.switchZach Hilman
2018-08-01Make XCI comply to review and style guidelinesZach Hilman
2018-08-01Extract mbedtls to cpp fileZach Hilman
2018-08-01Add missing string.h includeZach Hilman
2018-08-01Update mbedtls and fix compile errorZach Hilman
2018-08-01Remove files that are not usedZach Hilman