Fix BYDWORD (implementation mistake)

This commit is contained in:
Andrew
2023-06-05 15:07:31 +03:00
parent 04e6362d7e
commit da7e88b970
3 changed files with 4 additions and 8 deletions

View File

@@ -186,8 +186,7 @@ void generateXPKey(
// Translate the byte digest into a 32-bit integer - this is our computed pHash.
// Truncate the pHash to 28 bits.
pHash = BYDWORD(msgDigest) >> 4;
pHash &= BITMASK(28);
pHash = BYDWORD(msgDigest) >> 4 & BITMASK(28);
/*
*