1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-03 04:11:06 +00: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 #endif
#ifdef IS_NV #ifdef IS_NV
#define BF_ROUND(L,R,N) \ #define BF_ROUND(L,R,N) \
{ \ { \
u32 tmp; \ u32 tmp; \
\ \
tmp = S0[(u8) (L) >> 24]; \ tmp = S0[__bfe ((L), 24, 8)]; \
tmp += S1[(u8) (L) >> 16]; \ tmp += S1[__bfe ((L), 16, 8)]; \
tmp ^= S2[(u8) (L) >> 8]; \ tmp ^= S2[__bfe ((L), 8, 8)]; \
tmp += S3[(u8) (L) >> 0]; \ tmp += S3[__bfe ((L), 0, 8)]; \
\ \
(R) ^= tmp ^ P[(N)]; \ (R) ^= tmp ^ P[(N)]; \
} }
#endif #endif

View File

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