Home
last modified time | relevance | path

Searched refs:authp (Results 1 – 7 of 7) sorted by relevance

/external/libppp/src/
Dpap.c83 pap_Req(struct authinfo *authp) in pap_Req() argument
85 struct bundle *bundle = authp->physical->dl->bundle; in pap_Req()
99 lh.id = authp->id; in pap_Req()
109 link_PushPacket(&authp->physical->link, bp, bundle, in pap_Req()
110 LINK_QUEUES(&authp->physical->link) - 1, PROTO_PAP); in pap_Req()
114 SendPapCode(struct authinfo *authp, int code, const char *message) in SendPapCode() argument
122 lh.id = authp->id; in SendPapCode()
138 link_PushPacket(&authp->physical->link, bp, authp->physical->dl->bundle, in SendPapCode()
139 LINK_QUEUES(&authp->physical->link) - 1, PROTO_PAP); in SendPapCode()
143 pap_Success(struct authinfo *authp) in pap_Success() argument
[all …]
Dauth.c388 struct authinfo *authp = (struct authinfo *)vauthp; in AuthTimeout() local
390 timer_Stop(&authp->authtimer); in AuthTimeout()
391 if (--authp->retry > 0) { in AuthTimeout()
392 authp->id++; in AuthTimeout()
393 (*authp->fn.req)(authp); in AuthTimeout()
394 timer_Start(&authp->authtimer); in AuthTimeout()
397 datalink_AuthNotOk(authp->physical->dl); in AuthTimeout()
402 auth_Init(struct authinfo *authp, struct physical *p, auth_func req, in auth_Init() argument
405 memset(authp, '\0', sizeof(struct authinfo)); in auth_Init()
406 authp->cfg.fsm.timeout = DEF_FSMRETRY; in auth_Init()
[all …]
Dchap.c487 chap_ChallengeInit(struct authinfo *authp) in chap_ChallengeInit() argument
489 struct chap *chap = auth2chap(authp); in chap_ChallengeInit()
493 len = strlen(authp->physical->dl->bundle->cfg.auth.name); in chap_ChallengeInit()
500 if (*authp->physical->dl->bundle->radius.cfg.file) { in chap_ChallengeInit()
509 if (authp->physical->link.lcp.want_authtype == 0x80) in chap_ChallengeInit()
511 else if (authp->physical->link.lcp.want_authtype == 0x81) in chap_ChallengeInit()
519 memcpy(cp, authp->physical->dl->bundle->cfg.auth.name, len); in chap_ChallengeInit()
524 chap_Challenge(struct authinfo *authp) in chap_Challenge() argument
526 struct chap *chap = auth2chap(authp); in chap_Challenge()
530 authp->physical->link.lcp.want_authtype); in chap_Challenge()
[all …]
Dradius.c893 radius_Authenticate(struct radius *r, struct authinfo *authp, const char *name, in radius_Authenticate() argument
947 switch (authp->physical->link.lcp.want_auth) { in radius_Authenticate()
960 switch (authp->physical->link.lcp.want_authtype) { in radius_Authenticate()
1016 authp->physical->link.lcp.want_authtype); in radius_Authenticate()
1025 if (Enabled(authp->physical->dl->bundle, OPT_NAS_IP_ADDRESS) && in radius_Authenticate()
1035 if (Enabled(authp->physical->dl->bundle, OPT_NAS_IDENTIFIER) && in radius_Authenticate()
1051 radius_put_physical_details(r, authp->physical); in radius_Authenticate()
1055 r->cx.auth = authp; in radius_Authenticate()
/external/openssl/ssl/
Dd1_clnt.c1051 krb5_data authenticator, *authp = NULL; in dtls1_send_client_key_exchange() local
1067 authp = NULL; in dtls1_send_client_key_exchange()
1069 if (KRB5SENDAUTH) authp = &authenticator; in dtls1_send_client_key_exchange()
1072 krb5rc = kssl_cget_tkt(kssl_ctx, &enc_ticket, authp, in dtls1_send_client_key_exchange()
1120 if (authp && authp->length) in dtls1_send_client_key_exchange()
1122 s2n(authp->length,p); in dtls1_send_client_key_exchange()
1123 memcpy(p, authp->data, authp->length); in dtls1_send_client_key_exchange()
1124 p+= authp->length; in dtls1_send_client_key_exchange()
1125 n+= authp->length + 2; in dtls1_send_client_key_exchange()
1127 free(authp->data); in dtls1_send_client_key_exchange()
[all …]
Ds3_clnt.c2370 krb5_data authenticator, *authp = NULL; in ssl3_send_client_key_exchange() local
2386 authp = NULL; in ssl3_send_client_key_exchange()
2388 if (KRB5SENDAUTH) authp = &authenticator; in ssl3_send_client_key_exchange()
2391 krb5rc = kssl_cget_tkt(kssl_ctx, &enc_ticket, authp, in ssl3_send_client_key_exchange()
2439 if (authp && authp->length) in ssl3_send_client_key_exchange()
2441 s2n(authp->length,p); in ssl3_send_client_key_exchange()
2442 memcpy(p, authp->data, authp->length); in ssl3_send_client_key_exchange()
2443 p+= authp->length; in ssl3_send_client_key_exchange()
2444 n+= authp->length + 2; in ssl3_send_client_key_exchange()
2446 free(authp->data); in ssl3_send_client_key_exchange()
[all …]
/external/kernel-headers/original/linux/sunrpc/
Dsvcauth.h98 int (*accept)(struct svc_rqst *rq, u32 *authp);
115 extern int svc_authenticate(struct svc_rqst *rqstp, u32 *authp);