Initial commit
[hashcat.git] / include / rp_gpu_on_cpu.h
1 /**
2 * Author......: Jens Steube <jens.steube@gmail.com>
3 * License.....: MIT
4 */
5
6 #ifndef RP_CPU_H
7 #define RP_CPU_H
8
9 #define swap_workaround(n) __builtin_bswap32(n)
10
11 #include "common.h"
12 #include "rp_gpu.h"
13
14 uint apply_rule (const uint name, const uint p0, const uint p1, uint32_t buf0[4], uint32_t buf1[4], const uint in_len);
15 uint apply_rules (uint *cmds, uint32_t buf0[4], uint32_t buf1[4], const uint len);
16
17 #endif