1
mirror of https://github.com/hashcat/hashcat synced 2024-11-02 20:39:22 +01:00

Revert "increase bcrypt again a bit"

This reverts commit c315ea94a2.

Broke functionality
This commit is contained in:
jsteube 2015-12-22 02:21:27 +01:00
parent c315ea94a2
commit a9286ea475
2 changed files with 20 additions and 20 deletions

View File

@ -311,16 +311,16 @@ __constant u32 c_sbox3[256] =
#endif
#ifdef IS_NV
#define BF_ROUND(L,R,N) \
{ \
u32 tmp; \
\
tmp = S0[(u8) (L) >> 24]; \
tmp += S1[(u8) (L) >> 16]; \
tmp ^= S2[(u8) (L) >> 8]; \
tmp += S3[(u8) (L) >> 0]; \
\
(R) ^= tmp ^ P[(N)]; \
#define BF_ROUND(L,R,N) \
{ \
u32 tmp; \
\
tmp = S0[__bfe ((L), 24, 8)]; \
tmp += S1[__bfe ((L), 16, 8)]; \
tmp ^= S2[__bfe ((L), 8, 8)]; \
tmp += S3[__bfe ((L), 0, 8)]; \
\
(R) ^= tmp ^ P[(N)]; \
}
#endif

View File

@ -311,16 +311,16 @@ __constant u32 c_sbox3[256] =
#endif
#ifdef IS_NV
#define BF_ROUND(L,R,N) \
{ \
u32 tmp; \
\
tmp = S0[(u8) (L) >> 24]; \
tmp += S1[(u8) (L) >> 16]; \
tmp ^= S2[(u8) (L) >> 8]; \
tmp += S3[(u8) (L) >> 0]; \
\
(R) ^= tmp ^ P[(N)]; \
#define BF_ROUND(L,R,N) \
{ \
u32 tmp; \
\
tmp = S0[__bfe ((L), 24, 8)]; \
tmp += S1[__bfe ((L), 16, 8)]; \
tmp ^= S2[__bfe ((L), 8, 8)]; \
tmp += S3[__bfe ((L), 0, 8)]; \
\
(R) ^= tmp ^ P[(N)]; \
}
#endif