Commit Graph

7 Commits (10e5356e9ac5756d8a48498cd1270862d3013476)

Author SHA1 Message Date
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.
8 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