summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWeiyi Wang <wwylele@gmail.com>2017-03-18 13:36:49 +0100
committerGitHub <noreply@github.com>2017-03-18 13:36:49 +0100
commit2f625f2c6f2e50cad67fd6644d3fd11d0458920b (patch)
tree99c0fbcb35428f78d0bd64cf184a25fe920ac806 /src
parentMerge pull request #2497 from wwylele/input-2 (diff)
parentapt: fix RequestBuilder parameters for Unwrap (diff)
downloadyuzu-2f625f2c6f2e50cad67fd6644d3fd11d0458920b.tar
yuzu-2f625f2c6f2e50cad67fd6644d3fd11d0458920b.tar.gz
yuzu-2f625f2c6f2e50cad67fd6644d3fd11d0458920b.tar.bz2
yuzu-2f625f2c6f2e50cad67fd6644d3fd11d0458920b.tar.lz
yuzu-2f625f2c6f2e50cad67fd6644d3fd11d0458920b.tar.xz
yuzu-2f625f2c6f2e50cad67fd6644d3fd11d0458920b.tar.zst
yuzu-2f625f2c6f2e50cad67fd6644d3fd11d0458920b.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/apt/apt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/apt/apt.cpp b/src/core/hle/service/apt/apt.cpp
index e57b19c2d..1517d3a2f 100644
--- a/src/core/hle/service/apt/apt.cpp
+++ b/src/core/hle/service/apt/apt.cpp
@@ -554,7 +554,7 @@ void Unwrap(Service::Interface* self) {
// Decrypts the ciphertext using AES-CCM
auto pdata = HW::AES::DecryptVerifyCCM(cipher, nonce, HW::AES::KeySlotID::APTWrap);
- IPC::RequestBuilder rb = rp.MakeBuilder(1, 0);
+ IPC::RequestBuilder rb = rp.MakeBuilder(1, 4);
if (!pdata.empty()) {
// Splits the plaintext and put the nonce in between
Memory::WriteBlock(output, pdata.data(), nonce_offset);