mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 08:08:10 +00:00
Fix uint4 rotate in scrypt based kernels for CUDA
This commit is contained in:
parent
be8f29ca39
commit
ce20a5ab6b
@ -36,7 +36,7 @@ inline __device__ uint4 operator ^= ( uint4 &a, const uint4 b) {
|
||||
|
||||
inline __device__ uint4 rotate (const uint4 a, const int n)
|
||||
{
|
||||
return ((a >> n) | ((a >> (32 - n))));
|
||||
return ((a << n) | ((a >> (32 - n))));
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user