1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 08:08:10 +00:00

increase bcrypt again a bit

This commit is contained in:
jsteube 2015-12-22 02:17:48 +01:00
parent 21891bf8db
commit c315ea94a2
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[__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)]; \
#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)]; \
}
#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[__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)]; \
#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)]; \
}
#endif