fix clang
This commit is contained in:
parent
d793624c61
commit
cc6a83621c
2 changed files with 4 additions and 6 deletions
|
@ -554,9 +554,8 @@ void NWM_UDS::RecvBeaconBroadcastData(Kernel::HLERequestContext& ctx) {
|
||||||
IPC::RequestBuilder rb = rp.MakeBuilder(1, 0);
|
IPC::RequestBuilder rb = rp.MakeBuilder(1, 0);
|
||||||
rb.Push(RESULT_SUCCESS);
|
rb.Push(RESULT_SUCCESS);
|
||||||
|
|
||||||
LOG_DEBUG(Service_NWM,
|
LOG_DEBUG(Service_NWM, "called out_buffer_size=0x%08X, wlan_comm_id=0x%08X, id=0x%08X,"
|
||||||
"called out_buffer_size=0x%08X, wlan_comm_id=0x%08X, id=0x%08X,"
|
"input_handle=0x%08X, unk1=0x%08X, unk2=0x%08X, offset=%d",
|
||||||
"input_handle=0x%08X, unk1=0x%08X, unk2=0x%08X, offset=%d",
|
|
||||||
out_buffer_size, wlan_comm_id, id, input_handle, unk1, unk2, offset);
|
out_buffer_size, wlan_comm_id, id, input_handle, unk1, unk2, offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -187,9 +187,8 @@ static std::vector<u8> DecryptDataFrame(const std::vector<u8>& encrypted_payload
|
||||||
d.SpecifyDataLengths(aad.size(), encrypted_payload.size() - 8, 0);
|
d.SpecifyDataLengths(aad.size(), encrypted_payload.size() - 8, 0);
|
||||||
|
|
||||||
CryptoPP::AuthenticatedDecryptionFilter df(
|
CryptoPP::AuthenticatedDecryptionFilter df(
|
||||||
d, nullptr,
|
d, nullptr, CryptoPP::AuthenticatedDecryptionFilter::MAC_AT_END |
|
||||||
CryptoPP::AuthenticatedDecryptionFilter::MAC_AT_END |
|
CryptoPP::AuthenticatedDecryptionFilter::THROW_EXCEPTION);
|
||||||
CryptoPP::AuthenticatedDecryptionFilter::THROW_EXCEPTION);
|
|
||||||
// put aad
|
// put aad
|
||||||
df.ChannelPut(CryptoPP::AAD_CHANNEL, aad.data(), aad.size());
|
df.ChannelPut(CryptoPP::AAD_CHANNEL, aad.data(), aad.size());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue