mirror of
https://github.com/hashcat/hashcat.git
synced 2025-08-02 20:08:26 +00:00
Fix hc_rotl64_S() for AMD devices
This commit is contained in:
parent
e0d0721109
commit
a3b6e6f1b0
@ -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)
|
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
|
#if HAS_VPERM
|
||||||
|
Loading…
Reference in New Issue
Block a user