Lines Matching refs:hisauth

2164 	if (sp->hisauth.proto != 0)
2415 sppp_proto_name(sp->hisauth.proto),
2519 (sp->hisauth.flags & AUTHFLAG_NOCALLOUT) != 0) {
2776 authproto = sp->hisauth.proto;
4116 if (name_len != sppp_strnlen(sp->hisauth.name, AUTHNAMELEN)
4117 || bcmp(name, sp->hisauth.name, name_len) != 0) {
4122 sppp_print_string(sp->hisauth.name,
4123 sppp_strnlen(sp->hisauth.name, AUTHNAMELEN));
4150 MD5Update(&ctx, sp->hisauth.secret,
4151 sppp_strnlen(sp->hisauth.secret, AUTHKEYLEN));
4279 if ((sp->hisauth.flags & AUTHFLAG_NORECHALLENGE) == 0) {
4293 if ((sp->hisauth.flags & AUTHFLAG_NORECHALLENGE) == 0)
4427 if (name_len != sppp_strnlen(sp->hisauth.name, AUTHNAMELEN) ||
4428 passwd_len != sppp_strnlen(sp->hisauth.secret, AUTHKEYLEN) ||
4429 bcmp(name, sp->hisauth.name, name_len) != 0 ||
4430 bcmp(passwd, sp->hisauth.secret, passwd_len) != 0) {
4532 if (sp->hisauth.proto == PPP_PAP &&
5094 spr->defs.hisauth = sp->hisauth;
5097 bzero(spr->defs.hisauth.secret, AUTHKEYLEN);
5098 bzero(spr->defs.hisauth.challenge, AUTHKEYLEN);
5147 (spr->defs.hisauth.proto != 0 && spr->defs.hisauth.proto != PPP_PAP &&
5148 spr->defs.hisauth.proto != PPP_CHAP)) {
5164 if (spr->defs.hisauth.proto == 0)
5165 /* resetting hisauth */
5166 bzero(&sp->hisauth, sizeof sp->hisauth);
5168 /* setting/changing hisauth */
5169 sp->hisauth.proto = spr->defs.hisauth.proto;
5170 sp->hisauth.flags = spr->defs.hisauth.flags;
5171 bcopy(spr->defs.hisauth.name, sp->hisauth.name, AUTHNAMELEN);
5172 if (spr->defs.hisauth.secret[0] != '\0')
5173 bcopy(spr->defs.hisauth.secret, sp->hisauth.secret,