mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 10:18:40 +12:00
Rename xor to xor_ to allow build to continue in compliant compilers
This commit is contained in:
parent
8007693084
commit
61d0e4ee54
3 changed files with 7 additions and 7 deletions
|
@ -457,7 +457,7 @@ void validate_data(const char* file_name, unsigned char *klicensee, NPD_HEADER *
|
|||
else
|
||||
{
|
||||
// Generate klicensee xor key.
|
||||
xor(key, klicensee, NP_OMAC_KEY_2, 0x10);
|
||||
xor_(key, klicensee, NP_OMAC_KEY_2, 0x10);
|
||||
|
||||
// Hash with generated key and compare with dev_hash.
|
||||
dev_hash_result = cmac_hash_compare(key, 0x10, (unsigned char *)npd, 0x60, npd->dev_hash);
|
||||
|
@ -529,7 +529,7 @@ bool extract_data(wxFile *input, wxFile *output, const char* input_file_name, un
|
|||
if((EDAT->flags & SDAT_FLAG) == SDAT_FLAG)
|
||||
{
|
||||
ConLog.Warning("EDAT: SDAT detected!\n");
|
||||
xor(key, NPD->dev_hash, SDAT_KEY, 0x10);
|
||||
xor_(key, NPD->dev_hash, SDAT_KEY, 0x10);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -670,4 +670,4 @@ int DecryptEDAT(const std::string& input_file_name, const std::string& output_fi
|
|||
input.Close();
|
||||
output.Close();
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue