This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unsigned long long ROR(unsigned long long var, unsigned short shift) | |
{ | |
return (var >> shift | var << (sizeof(var) * CHAR_BIT - shift)); | |
} | |
unsigned long long ROL(unsigned long long var, unsigned short shift) | |
{ | |
return (var << shift) | (var >> (sizeof(var) * CHAR_BIT - shift)); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add Watch | |
(char*)str.d+str.d->offset,su |