1
mirror of https://github.com/hashcat/hashcat synced 2024-10-12 03:52:49 +02:00

More fixes for IS_UNKNOWN in kernels

This commit is contained in:
jsteube 2016-01-05 23:10:04 +01:00
parent bacc1049e3
commit 39c44f2007

View File

@ -27,7 +27,7 @@ typedef struct
{
u64 state[8];
u64 buf[16];
int len;
int len;
} sha512_ctx_t;
@ -253,6 +253,10 @@ static void sha512_update (sha512_ctx_t *sha512_ctx, const u64 *buf, int len)
sha512_transform (sha512_ctx->buf, sha512_ctx->state);
#endif
#ifdef IS_UNKNOWN
sha512_transform (sha512_ctx->buf, sha512_ctx->state);
#endif
len -= cnt;
for (int i = 0; i < len; i++)