1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-15 12:29:35 +00:00
hashcat/include/bitops.h

22 lines
492 B
C
Raw Normal View History

/**
* Author......: See docs/credits.txt
* License.....: MIT
*/
#ifndef _BITOPS_H
#define _BITOPS_H
2018-07-22 10:23:18 +00:00
u32 hc_add3 (const u32 a, const u32 b, const u32 c);
u32 hc_add3_S (const u32 a, const u32 b, const u32 c);
2017-08-27 17:46:17 +00:00
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);
u16 byte_swap_16 (const u16 n);
u32 byte_swap_32 (const u32 n);
u64 byte_swap_64 (const u64 n);
#endif // _BITOPS_H