1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-29 11:28:15 +00:00

Fix __add3 bitops in host code

This commit is contained in:
jsteube 2018-07-22 12:23:18 +02:00
parent a43d3ad176
commit 34bf28f9d4
2 changed files with 4 additions and 4 deletions

View File

@ -6,8 +6,8 @@
#ifndef _BITOPS_H #ifndef _BITOPS_H
#define _BITOPS_H #define _BITOPS_H
u32 __add3 (const u32 a, const u32 b, const u32 c); u32 hc_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_S (const u32 a, const u32 b, const u32 c);
u32 rotl32 (const u32 a, const u32 n); u32 rotl32 (const u32 a, const u32 n);
u32 rotr32 (const u32 a, const u32 n); u32 rotr32 (const u32 a, const u32 n);

View File

@ -7,12 +7,12 @@
#include "types.h" #include "types.h"
#include "bitops.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; 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; return a + b + c;
} }