Lioncash
09f884b7bd
aes_util: Make use of non-template variant of Transcode
Same behavior, less template instantiations.
5 years ago
Lioncash
15660bd857
aes_util: Allow SetIV to be non-allocating
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.
5 years ago
fearlessTobi
63c2e32e20
Port #4182 from Citra: "Prefix all size_t with std::"
7 years ago
Zach Hilman
99fbcb3bf2
aes_util: Fix error involving reads of less than 0x10
Issues with block size are fixed by making all reads minimum length of 0x10
7 years ago
Zach Hilman
10e5356e9a
aes_util: Make XTSTranscode stricter about sizes
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.
7 years ago
Lioncash
64c8212ae1
aes_util: Make CalculateNintendoTweak() an internally linked function
This function doesn't directly depend on class state, so it can be
hidden entirely from the interface in the cpp file.
8 years ago
Lioncash
b25468b498
aes_util: Make Transcode() a const member function
This doesn't modify member state, so it can be made const.
8 years ago
Lioncash
8da651ac4d
core/crypto: Remove unnecessary includes
8 years ago
Zach Hilman
239a3113e4
Make XCI comply to review and style guidelines
8 years ago
Zach Hilman
22342487e8
Extract mbedtls to cpp file
8 years ago
Zach Hilman
df5b75694f
Remove files that are not used
8 years ago
MerryMage
0b1c2e5505
Implement exclusive monitor
8 years ago