Fix -m 29500 in -a 1 mode multihash

pull/3286/head
Jens Steube 2 years ago
parent ed3b521855
commit 446d82d8ea

@ -17,6 +17,7 @@
KERNEL_FQ void m29500_mxx (KERN_ATTR_BASIC ())
{
/**
* modifier
*/
@ -96,10 +97,9 @@ KERNEL_FQ void m29500_mxx (KERN_ATTR_BASIC ())
}
sha1_hmac_ctx_t ctx;
sha1_hmac_init_swap (&ctx, c, pw_len + comb_len);
sha1_hmac_init (&ctx, c, pw_len + comb_len);
sha1_hmac_update (&ctx, fixed, 14);
sha1_hmac_final (&ctx);
u32 intermediate[16] = {0};
intermediate[0] = ctx.opad.h[0];
intermediate[1] = ctx.opad.h[1];

Loading…
Cancel
Save