mirror of https://git.suyu.dev/suyu/suyu
aes_util: Make use of non-template variant of Transcode
Same behavior, less template instantiations.
This commit is contained in:
parent
1cc0e4b4d8
commit
09f884b7bd
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue