1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-02-22 12:32:04 +00:00

Fix hc_rotl64_S() for AMD devices

This commit is contained in:
jsteube 2019-04-15 12:11:37 +02:00
parent e0d0721109
commit a3b6e6f1b0

View File

@ -377,7 +377,7 @@ DECLSPEC u64 hc_rotr64_S (const u64 a, const int n)
DECLSPEC u64 hc_rotl64_S (const u64 a, const int n)
{
return hc_rotr64_S (a, n);
return hc_rotr64_S (a, 64 - n);
}
#if HAS_VPERM