mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 08:08:10 +00:00
Fix __add3 bitops in host code
This commit is contained in:
parent
a43d3ad176
commit
34bf28f9d4
@ -6,8 +6,8 @@
|
||||
#ifndef _BITOPS_H
|
||||
#define _BITOPS_H
|
||||
|
||||
u32 __add3 (const u32 a, const u32 b, const u32 c);
|
||||
u32 __add3_S (const u32 a, const u32 b, const u32 c);
|
||||
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);
|
||||
|
||||
u32 rotl32 (const u32 a, const u32 n);
|
||||
u32 rotr32 (const u32 a, const u32 n);
|
||||
|
@ -7,12 +7,12 @@
|
||||
#include "types.h"
|
||||
#include "bitops.h"
|
||||
|
||||
u32 __add3_S (const u32 a, const u32 b, const u32 c)
|
||||
u32 hc_add3_S (const u32 a, const u32 b, const u32 c)
|
||||
{
|
||||
return a + b + c;
|
||||
}
|
||||
|
||||
u32 __add3 (const u32 a, const u32 b, const u32 c)
|
||||
u32 hc_add3 (const u32 a, const u32 b, const u32 c)
|
||||
{
|
||||
return a + b + c;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user