More fixes for IS_UNKNOWN in kernels

pull/65/head
jsteube 8 years ago
parent bacc1049e3
commit 39c44f2007

@ -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++)

Loading…
Cancel
Save