1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 16:18:09 +00:00

Fix uint4 rotate in scrypt based kernels for CUDA

This commit is contained in:
Jens Steube 2019-05-09 16:55:48 +02:00
parent be8f29ca39
commit ce20a5ab6b

View File

@ -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