AesDevice: fix key & iv arrays

This commit is contained in:
Naim2000 2024-03-01 15:00:28 -05:00
parent 5a81916ee9
commit f208b320a3
1 changed files with 2 additions and 2 deletions

View File

@ -64,8 +64,8 @@ std::optional<IPCReply> AesDevice::IOCtlV(const IOCtlVRequest& request)
std::vector<u8> input = std::vector<u8>(request.in_vectors[0].size);
std::vector<u8> output = std::vector<u8>(request.io_vectors[0].size);
std::array<u8, 10> key = {0};
std::array<u8, 10> iv = {0};
std::array<u8, 0x10> key = {0};
std::array<u8, 0x10> iv = {0};
memory.CopyFromEmu(input.data(), request.in_vectors[0].address, input.size());
memory.CopyFromEmu(key.data(), request.in_vectors[1].address, key.size());
memory.CopyFromEmu(iv.data(), request.io_vectors[1].address, iv.size());