Lines Matching refs:md5_ctx
491 lwip_md5_context md5_ctx; in pppol2tp_dispatch_control_packet() local
620 lwip_md5_init(&md5_ctx); in pppol2tp_dispatch_control_packet()
621 lwip_md5_starts(&md5_ctx); in pppol2tp_dispatch_control_packet()
623 lwip_md5_update(&md5_ctx, &challenge_id, 1); in pppol2tp_dispatch_control_packet()
624 lwip_md5_update(&md5_ctx, l2tp->secret, l2tp->secret_len); in pppol2tp_dispatch_control_packet()
625 lwip_md5_update(&md5_ctx, inp, avplen); in pppol2tp_dispatch_control_packet()
626 lwip_md5_finish(&md5_ctx, l2tp->challenge_hash); in pppol2tp_dispatch_control_packet()
627 lwip_md5_free(&md5_ctx); in pppol2tp_dispatch_control_packet()
636 lwip_md5_init(&md5_ctx); in pppol2tp_dispatch_control_packet()
637 lwip_md5_starts(&md5_ctx); in pppol2tp_dispatch_control_packet()
639 lwip_md5_update(&md5_ctx, &challenge_id, 1); in pppol2tp_dispatch_control_packet()
640 lwip_md5_update(&md5_ctx, l2tp->secret, l2tp->secret_len); in pppol2tp_dispatch_control_packet()
641 lwip_md5_update(&md5_ctx, l2tp->secret_rv, sizeof(l2tp->secret_rv)); in pppol2tp_dispatch_control_packet()
642 lwip_md5_finish(&md5_ctx, md5_hash); in pppol2tp_dispatch_control_packet()
643 lwip_md5_free(&md5_ctx); in pppol2tp_dispatch_control_packet()