summaryrefslogtreecommitdiffstats
path: root/src/core/crypto/aes_util.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* general: Convert source file copyright comments over to SPDXMorph2022-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.
* aes_util: Make use of std::spanLioncash2021-04-231-3/+3
| | | | | Allows us to simplify the interface quite a bit as it will handle contiguous sequences for us.
* aes_util: Remove malformed mbedtls_cipher_finish function callMorph2021-03-051-2/+0
|
* aes_util: Make use of non-template variant of TranscodeLioncash2020-08-061-1/+1
| | | | Same behavior, less template instantiations.
* aes_util: Allow SetIV to be non-allocatingLioncash2020-08-031-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.
* Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi2018-09-151-17/+20
|
* aes_util: Fix error involving reads of less than 0x10Zach Hilman2018-09-041-0/+14
| | | | Issues with block size are fixed by making all reads minimum length of 0x10
* aes_util: Make XTSTranscode stricter about sizesZach 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.
* aes_util: Make CalculateNintendoTweak() an internally linked functionLioncash2018-08-041-10/+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 functionLioncash2018-08-041-6/+7
| | | | This doesn't modify member state, so it can be made const.
* core/crypto: Remove unnecessary includesLioncash2018-08-041-0/+2
|
* Make XCI comply to review and style guidelinesZach Hilman2018-08-011-37/+45
|
* Extract mbedtls to cpp fileZach Hilman2018-08-011-2/+100
|
* Remove files that are not usedZach Hilman2018-08-011-0/+6