Home
last modified time | relevance | path

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

/freebsd-13.1/usr.sbin/ppp/
H A Dpap.c101 lh.id = authp->id; in pap_Req()
124 lh.id = authp->id; in SendPapCode()
140 link_PushPacket(&authp->physical->link, bp, authp->physical->dl->bundle, in SendPapCode()
149 datalink_GotAuthname(authp->physical->dl, authp->in.name); in pap_Success()
158 physical_Login(authp->physical, authp->in.name); in pap_Success()
209 if (authp->in.hdr.code == 0 || authp->in.hdr.code > MAXPAPCODE) { in pap_Input()
215 if (authp->in.hdr.code != PAP_REQUEST && authp->id != authp->in.hdr.id && in pap_Input()
219 papcodes[authp->in.hdr.code], authp->in.hdr.id, authp->id); in pap_Input()
224 authp->id = authp->in.hdr.id; /* We respond with this id */ in pap_Input()
239 txt = authp->in.name; in pap_Input()
[all …]
H A Dauth.c402 authp->id++; in AuthTimeout()
403 (*authp->fn.req)(authp); in AuthTimeout()
419 authp->fn.req = req; in auth_Init()
422 authp->physical = p; in auth_Init()
431 authp->authtimer.load = authp->cfg.fsm.timeout * SECTICKS; in auth_StartReq()
432 authp->authtimer.arg = (void *)authp; in auth_StartReq()
433 authp->retry = authp->cfg.fsm.maxreq; in auth_StartReq()
434 authp->id = 1; in auth_StartReq()
435 (*authp->fn.req)(authp); in auth_StartReq()
452 bp = mbuf_Read(bp, (u_char *)&authp->in.hdr, sizeof authp->in.hdr); in auth_ReadHeader()
[all …]
H A Dchap.c491 struct chap *chap = auth2chap(authp); in chap_ChallengeInit()
526 chap_Challenge(struct authinfo *authp) in chap_Challenge() argument
538 chap_ChallengeInit(authp); in chap_Challenge()
542 ChapOutput(authp->physical, CHAP_CHALLENGE, authp->id, in chap_Challenge()
546 ChapOutput(authp->physical, CHAP_CHALLENGE, authp->id, in chap_Challenge()
551 chap_Success(struct authinfo *authp) in chap_Success() argument
556 datalink_GotAuthname(authp->physical->dl, authp->in.name); in chap_Success()
575 ChapOutput(authp->physical, CHAP_SUCCESS, authp->id, msg, strlen(msg), in chap_Success()
580 physical_Login(authp->physical, authp->in.name); in chap_Success()
591 chap_Failure(struct authinfo *authp) in chap_Failure() argument
[all …]
H A Dradius.c895 radius_Authenticate(struct radius *r, struct authinfo *authp, const char *name, in radius_Authenticate() argument
949 switch (authp->physical->link.lcp.want_auth) { in radius_Authenticate()
962 switch (authp->physical->link.lcp.want_authtype) { in radius_Authenticate()
1018 authp->physical->link.lcp.want_authtype); in radius_Authenticate()
1027 if (Enabled(authp->physical->dl->bundle, OPT_NAS_IP_ADDRESS) && in radius_Authenticate()
1037 if (Enabled(authp->physical->dl->bundle, OPT_NAS_IDENTIFIER) && in radius_Authenticate()
1053 radius_put_physical_details(r, authp->physical); in radius_Authenticate()
1057 r->cx.auth = authp; in radius_Authenticate()
/freebsd-13.1/sys/contrib/openzfs/module/icp/algs/modes/
H A Dccm.c767 uint8_t *mac_buf, *datap, *ivp, *authp; in ccm_init() local
803 authp = (uint8_t *)ctx->ccm_tmp; in ccm_init()
804 bzero(authp, block_size); in ccm_init()
805 bcopy(encoded_a, authp, encoded_a_len); in ccm_init()
811 bcopy(auth_data, authp+encoded_a_len, processed); in ccm_init()
813 xor_block(authp, mac_buf); in ccm_init()
827 bzero(authp, block_size); in ccm_init()
828 bcopy(&(auth_data[processed]), authp, remainder); in ccm_init()
829 datap = (uint8_t *)authp; in ccm_init()
H A Dgcm.c531 uint8_t *ghash, *datap, *authp; in gcm_init() local
543 authp = (uint8_t *)ctx->gcm_tmp; in gcm_init()
545 bzero(authp, block_size); in gcm_init()
556 bzero(authp, block_size); in gcm_init()
557 bcopy(&(auth_data[processed]), authp, remainder); in gcm_init()
558 datap = (uint8_t *)authp; in gcm_init()
1546 uint8_t *authp = (uint8_t *)ctx->gcm_tmp; in gcm_init_avx() local
1548 bzero(authp, block_size); in gcm_init_avx()
1549 bcopy(datap, authp, incomp); in gcm_init_avx()
1550 GHASH_AVX(ctx, authp, block_size); in gcm_init_avx()
/freebsd-13.1/contrib/tnftp/src/
H A Dfetch.c1047 char **authp; in fetch_url() local
1051 authp = &wwwauth; in fetch_url()
1055 authp = &proxyauth; in fetch_url()
1059 if (verbose || *authp == NULL || in fetch_url()
1067 if (*authp != NULL) { in fetch_url()
1081 if (auth_url(auth, authp, auser, apass) == 0) { in fetch_url()
1084 memset(*authp, 0, strlen(*authp)); in fetch_url()
1085 FREEPTR(*authp); in fetch_url()
/freebsd-13.1/usr.sbin/ctld/
H A Dlogin.c281 struct chap *chap, const struct auth **authp) in login_receive_chap_r() argument
333 *authp = auth; in login_receive_chap_r()