Moved bit operations out of shared.[hc] and created bitops.[hc]
based on https://github.com/hashcat/hashcat/pull/485/commits/1aafa13e09973568ae58e4a539ce1d7772bd7e0b
This commit is contained in:
@@ -1400,16 +1400,6 @@ typedef enum kern_run_mp
|
||||
* functions
|
||||
*/
|
||||
|
||||
u32 is_power_of_2(u32 v);
|
||||
|
||||
u32 rotl32 (const u32 a, const u32 n);
|
||||
u32 rotr32 (const u32 a, const u32 n);
|
||||
u64 rotl64 (const u64 a, const u64 n);
|
||||
u64 rotr64 (const u64 a, const u64 n);
|
||||
|
||||
u32 byte_swap_32 (const u32 n);
|
||||
u64 byte_swap_64 (const u64 n);
|
||||
|
||||
u8 hex_convert (const u8 c);
|
||||
u8 hex_to_u8 (const u8 hex[2]);
|
||||
u32 hex_to_u32 (const u8 hex[8]);
|
||||
|
||||
Reference in New Issue
Block a user