1
0
Fork 0
forked from suyu/suyu

aes_util: Make use of non-template variant of Transcode

Same behavior, less template instantiations.
This commit is contained in:
Lioncash 2020-08-06 02:31:16 -04:00
parent 1cc0e4b4d8
commit 09f884b7bd

View file

@ -116,7 +116,7 @@ void AESCipher<Key, KeySize>::XTSTranscode(const u8* src, std::size_t size, u8*
for (std::size_t i = 0; i < size; i += sector_size) { for (std::size_t i = 0; i < size; i += sector_size) {
SetIV(CalculateNintendoTweak(sector_id++)); SetIV(CalculateNintendoTweak(sector_id++));
Transcode<u8, u8>(src + i, sector_size, dest + i, op); Transcode(src + i, sector_size, dest + i, op);
} }
} }