summaryrefslogtreecommitdiffstats
path: root/src/core/crypto/aes_util.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-04-23aes_util: Make use of std::spanLioncash1-3/+3
Allows us to simplify the interface quite a bit as it will handle contiguous sequences for us.
2021-03-05aes_util: Remove malformed mbedtls_cipher_finish function callMorph1-2/+0
2020-08-06aes_util: Make use of non-template variant of TranscodeLioncash1-1/+1
Same behavior, less template instantiations.
2020-08-03aes_util: Allow SetIV to be non-allocatingLioncash1-9/+12
In a few places, the data to be set as the IV is already within an array. We shouldn't require this data to be heap-allocated if it doesn't need to be. This allows certain callers to reduce heap churn.
2018-09-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi1-17/+20
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-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-04aes_util: Make CalculateNintendoTweak() an internally linked functionLioncash1-10/+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 functionLioncash1-6/+7
This doesn't modify member state, so it can be made const.
2018-08-04core/crypto: Remove unnecessary includesLioncash1-0/+2
2018-08-01Make XCI comply to review and style guidelinesZach Hilman1-37/+45
2018-08-01Extract mbedtls to cpp fileZach Hilman1-2/+100
2018-08-01Remove files that are not usedZach Hilman1-3/+2
2018-07-22Implement exclusive monitorMerryMage1-0/+7