|
|
@ -17,6 +17,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
KERNEL_FQ void m29500_mxx (KERN_ATTR_BASIC ())
|
|
|
|
KERNEL_FQ void m29500_mxx (KERN_ATTR_BASIC ())
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* modifier
|
|
|
|
* modifier
|
|
|
|
*/
|
|
|
|
*/
|
|
|
@ -96,10 +97,9 @@ KERNEL_FQ void m29500_mxx (KERN_ATTR_BASIC ())
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
sha1_hmac_ctx_t ctx;
|
|
|
|
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_update (&ctx, fixed, 14);
|
|
|
|
sha1_hmac_final (&ctx);
|
|
|
|
sha1_hmac_final (&ctx);
|
|
|
|
|
|
|
|
|
|
|
|
u32 intermediate[16] = {0};
|
|
|
|
u32 intermediate[16] = {0};
|
|
|
|
intermediate[0] = ctx.opad.h[0];
|
|
|
|
intermediate[0] = ctx.opad.h[0];
|
|
|
|
intermediate[1] = ctx.opad.h[1];
|
|
|
|
intermediate[1] = ctx.opad.h[1];
|
|
|
|