Searched defs:authp (Results 1 - 6 of 6) sorted by relevance

/external/libppp/src/
H A Dpap.c83 pap_Req(struct authinfo *authp) argument
85 struct bundle *bundle = authp->physical->dl->bundle;
99 lh.id = authp->id;
109 link_PushPacket(&authp->physical->link, bp, bundle,
110 LINK_QUEUES(&authp->physical->link) - 1, PROTO_PAP);
114 SendPapCode(struct authinfo *authp, int code, const char *message) argument
122 lh.id = authp->id;
138 link_PushPacket(&authp->physical->link, bp, authp->physical->dl->bundle,
139 LINK_QUEUES(&authp
143 pap_Success(struct authinfo *authp) argument
167 pap_Failure(struct authinfo *authp) argument
183 struct authinfo *authp = &p->dl->pap; local
[all...]
H A Dauth.c388 struct authinfo *authp = (struct authinfo *)vauthp; local
390 timer_Stop(&authp->authtimer);
391 if (--authp->retry > 0) {
392 authp->id++;
393 (*authp->fn.req)(authp);
394 timer_Start(&authp->authtimer);
397 datalink_AuthNotOk(authp->physical->dl);
402 auth_Init(struct authinfo *authp, struct physical *p, auth_func req, argument
405 memset(authp, '\
416 auth_StartReq(struct authinfo *authp) argument
430 auth_StopTimer(struct authinfo *authp) argument
436 auth_ReadHeader(struct authinfo *authp, struct mbuf *bp) argument
459 auth_ReadName(struct authinfo *authp, struct mbuf *bp, size_t len) argument
[all...]
H A Dchap.c487 chap_ChallengeInit(struct authinfo *authp) argument
489 struct chap *chap = auth2chap(authp);
493 len = strlen(authp->physical->dl->bundle->cfg.auth.name);
500 if (*authp->physical->dl->bundle->radius.cfg.file) {
509 if (authp->physical->link.lcp.want_authtype == 0x80)
511 else if (authp->physical->link.lcp.want_authtype == 0x81)
519 memcpy(cp, authp->physical->dl->bundle->cfg.auth.name, len);
524 chap_Challenge(struct authinfo *authp) argument
526 struct chap *chap = auth2chap(authp);
530 authp
549 chap_Success(struct authinfo *authp) argument
589 chap_Failure(struct authinfo *authp) argument
[all...]
H A Dradius.c893 radius_Authenticate(struct radius *r, struct authinfo *authp, const char *name, argument
947 switch (authp->physical->link.lcp.want_auth) {
960 switch (authp->physical->link.lcp.want_authtype) {
1016 authp->physical->link.lcp.want_authtype);
1025 if (Enabled(authp->physical->dl->bundle, OPT_NAS_IP_ADDRESS) &&
1035 if (Enabled(authp->physical->dl->bundle, OPT_NAS_IDENTIFIER) &&
1051 radius_put_physical_details(r, authp->physical);
1055 r->cx.auth = authp;
/external/openssl/ssl/
H A Dd1_clnt.c1051 krb5_data authenticator, *authp = NULL; local
1067 authp = NULL;
1069 if (KRB5SENDAUTH) authp = &authenticator;
1072 krb5rc = kssl_cget_tkt(kssl_ctx, &enc_ticket, authp,
1120 if (authp && authp->length)
1122 s2n(authp->length,p);
1123 memcpy(p, authp->data, authp->length);
1124 p+= authp
[all...]
H A Ds3_clnt.c2370 krb5_data authenticator, *authp = NULL; local
2386 authp = NULL;
2388 if (KRB5SENDAUTH) authp = &authenticator;
2391 krb5rc = kssl_cget_tkt(kssl_ctx, &enc_ticket, authp,
2439 if (authp && authp->length)
2441 s2n(authp->length,p);
2442 memcpy(p, authp->data, authp->length);
2443 p+= authp
[all...]

Completed in 207 milliseconds